From 7a515b2caf9f85df67b9d061931aeedbe5d16492 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 17 Jul 2020 09:49:37 -0600 Subject: [PATCH] Lint --- tests/mocha/connection_db_test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/mocha/connection_db_test.js b/tests/mocha/connection_db_test.js index 2013be0f9..9e43308f0 100644 --- a/tests/mocha/connection_db_test.js +++ b/tests/mocha/connection_db_test.js @@ -217,7 +217,9 @@ suite('Connection Database', function() { }; }); teardown(function() { - this.allowedStubs.forEach(stub => stub.restore()); + for (var i = 0; i < this.allowedStubs.length; i++) { + this.allowedStubs[i].restore(); + } }); test('Empty Database', function() { var checkConnection = this.createConnection(0, 0, Blockly.NEXT_STATEMENT,