mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix async tidy up handling in core tests
This commit is contained in:
@@ -43,7 +43,7 @@ describe('inject node', function() {
|
||||
});
|
||||
}
|
||||
|
||||
afterEach(async function() {
|
||||
afterEach(function(done) {
|
||||
helper.unload().then(function () {
|
||||
return Context.clean({allNodes: {}});
|
||||
}).then(function () {
|
||||
|
@@ -66,7 +66,7 @@ describe('websocket Node', function() {
|
||||
|
||||
afterEach(function() {
|
||||
closeAll();
|
||||
helper.unload();
|
||||
return helper.unload();
|
||||
});
|
||||
|
||||
describe('websocket-listener', function() {
|
||||
|
Reference in New Issue
Block a user