From e75628bf9d30c6d3f4ac466a82f8d2bb2759ac41 Mon Sep 17 00:00:00 2001 From: alschmiedt Date: Mon, 1 Jul 2019 14:46:46 -0700 Subject: [PATCH] Properly tear down tests --- tests/jsunit/block_test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/jsunit/block_test.js b/tests/jsunit/block_test.js index a450e51a6..4eb67bc52 100644 --- a/tests/jsunit/block_test.js +++ b/tests/jsunit/block_test.js @@ -65,6 +65,7 @@ function blockTest_setUp() { function blockTest_tearDown() { undefineTestBlocks(); workspace.dispose(); + mockControl_.$tearDown(); } function assertUnpluggedNoheal(blocks) { @@ -279,6 +280,7 @@ function test_set_style() { assertEquals('#ddeeff', blockA.colourTertiary_); blockTest_tearDown(); + \ } function test_set_style_throw_exception() {