Adding async cleanup to tests (#4103)

* Adding setup and teardown to more mocha tests.

* Update workspace dispose cleanup calls.
This commit is contained in:
Monica Kozbial
2020-08-05 16:00:00 -07:00
committed by GitHub
parent 12b5658109
commit 2e92123314
40 changed files with 183 additions and 72 deletions

View File

@@ -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);