diff --git a/plugins/keyboard-navigation/test/shortcuts_test.mocha.js b/plugins/keyboard-navigation/test/shortcuts_test.mocha.js index f8efc9749c..fb8f81e782 100644 --- a/plugins/keyboard-navigation/test/shortcuts_test.mocha.js +++ b/plugins/keyboard-navigation/test/shortcuts_test.mocha.js @@ -46,10 +46,10 @@ suite('Shortcut Tests', function () { teardown(function () { window.cancelAnimationFrame = undefined; - this.jsdomCleanup(); this.controller.dispose(); - delete Blockly.Blocks['basic_block']; this.workspace.dispose(); + this.jsdomCleanup(); + delete Blockly.Blocks['basic_block']; }); suite('Deleting blocks', function () {