MCPcopy Create free account
hub / github.com/easeway/js-plugins / testPlugin

Function testPlugin

test/Plugins-unit-test.js:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 it('#register', function (done) {
12 var plugins = new Plugins();
13 var testPlugin = function () {
14 return 'plugin';
15 };
16 assert.strictEqual(plugins.register('test.extension', 'test', testPlugin), plugins);
17 plugins.connect({}, 'test.extension', function (err, result) {
18 flow.Try.final(function () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected