Fix async tidy up handling in core tests

This commit is contained in:
Nick O'Leary
2024-03-21 19:27:37 +00:00
parent 37265cf4ef
commit abe579d332
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ describe('inject node', function() {
});
}
afterEach(async function() {
afterEach(function(done) {
helper.unload().then(function () {
return Context.clean({allNodes: {}});
}).then(function () {

View File

@@ -66,7 +66,7 @@ describe('websocket Node', function() {
afterEach(function() {
closeAll();
helper.unload();
return helper.unload();
});
describe('websocket-listener', function() {