mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Adding async cleanup to tests (#4103)
* Adding setup and teardown to more mocha tests. * Update workspace dispose cleanup calls.
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
*/
|
||||
|
||||
suite('Utils', function() {
|
||||
setup(function() {
|
||||
sharedTestSetup.call(this);
|
||||
});
|
||||
teardown(function() {
|
||||
sharedTestTeardown.call(this);
|
||||
});
|
||||
|
||||
test('genUid', function() {
|
||||
var uuids = {};
|
||||
chai.assert.equal([1,2,3].indexOf(4), -1);
|
||||
|
||||
Reference in New Issue
Block a user