From 4713afb6487d99b90b1c672b86b324e16b36532c Mon Sep 17 00:00:00 2001 From: kozbial Date: Mon, 7 Jun 2021 23:21:19 -0700 Subject: [PATCH] Fix error caused by extra teardown call --- tests/mocha/connection_test.js | 4 ---- tests/mocha/event_test.js | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/mocha/connection_test.js b/tests/mocha/connection_test.js index 2f7fe090782..118d274126a 100644 --- a/tests/mocha/connection_test.js +++ b/tests/mocha/connection_test.js @@ -1249,10 +1249,6 @@ suite('Connection', function() { }; }); - teardown(function() { - sharedTestTeardown.call(this); - }); - suite('Disconnect from old parent', function() { test('Value', function() { var oldParent = this.workspace.newBlock('row_block'); diff --git a/tests/mocha/event_test.js b/tests/mocha/event_test.js index 19776faad96..01771c3c5c4 100644 --- a/tests/mocha/event_test.js +++ b/tests/mocha/event_test.js @@ -4,6 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ +goog.require('Blockly.WorkspaceComment'); + suite('Events', function() { setup(function() { sharedTestSetup.call(this, {fireEventsNow: false});