This commit is contained in:
Rachel Fenichel
2020-07-17 09:49:37 -06:00
parent 815c8b8919
commit 7a515b2caf

View File

@@ -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,