We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f53b9b commit e6e1efbCopy full SHA for e6e1efb
index.js
@@ -214,6 +214,20 @@ class NodeTestHelper extends EventEmitter {
214
return Promise.resolve();
215
}
216
};
217
+
218
+ // mock out the runtime plugins api
219
+ const plugins = {
220
+ registerPlugin () {
221
+ return;
222
+ },
223
+ getPlugin () {
224
225
226
+ getPluginsByType () {
227
+ return [];
228
+ }
229
230
231
// this._settings.logging = {console:{level:'off'}};
232
this._settings.available = function() { return false; }
233
@@ -228,6 +242,7 @@ class NodeTestHelper extends EventEmitter {
242
util: this._RED.util,
243
settings: this._settings,
244
storage: storage,
245
+ plugins: plugins,
246
log: this._log,
247
nodeApp: express(),
248
adminApp: this._httpAdmin,
0 commit comments