Add test cases of persistable context for trigger node

This commit is contained in:
Kazuhito Yokoi
2018-07-13 15:26:07 +09:00
parent 051c147b41
commit 590506e306
3 changed files with 39 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ var helper = require("node-red-node-test-helper");
describe('change Node', function() {
beforeEach(function(done) {
helper.startServer(done);
Context.init({
contextStorage: {
memory: {
@@ -33,6 +32,7 @@ describe('change Node', function() {
}
});
Context.load();
helper.startServer(done);
});
afterEach(function(done) {