From 6f7ead6e9cc1fc9921c4b8ab67caa3fef43b30a9 Mon Sep 17 00:00:00 2001 From: Monica Kozbial <6621618+moniika@users.noreply.github.com> Date: Tue, 8 Jun 2021 10:19:08 -0700 Subject: [PATCH] Fix error caused by extra teardown call (#4877) --- 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 2f7fe0907..118d27412 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 19776faad..01771c3c5 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});