mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge pull request #1834 from node-red-hitachi/add-tests-for-context-admin-api
Add tests for context admin api
This commit is contained in:
@@ -54,7 +54,10 @@ function logStore(name, module) {
|
||||
|
||||
function init(_settings) {
|
||||
settings = _settings;
|
||||
contexts = {};
|
||||
stores = {};
|
||||
storeList = [];
|
||||
hasConfiguredStore = false;
|
||||
var seed = settings.functionGlobalContext || {};
|
||||
contexts['global'] = createContext("global",seed);
|
||||
stores["_"] = new memory();
|
||||
|
Reference in New Issue
Block a user