Initial plugin runtime api implementation

This commit is contained in:
Nick O'Leary
2020-12-10 16:01:55 +00:00
parent bebebaa3dd
commit a006b52052
25 changed files with 1026 additions and 121 deletions

View File

@@ -0,0 +1,13 @@
const should = require("should");
const sinon = require("sinon");
const NR_TEST_UTILS = require("nr-test-utils");
const plugins = NR_TEST_UTILS.require("@node-red/runtime/lib/plugins");
describe("runtime/plugins",function() {
it.skip("delegates all functions to registry module", function() {
// There's no easy way to test this as we can't stub the registry functions
// before the plugin module gets a reference to them
})
});