mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
refactor: pipeline edit view
This commit is contained in:
@@ -3,8 +3,9 @@ import "mocha";
|
||||
import { EchoPlugin } from "../src/plugin/plugins";
|
||||
describe("task_plugin", function () {
|
||||
it("#taskplugin", function () {
|
||||
const define = EchoPlugin.define;
|
||||
new EchoPlugin().execute({ context: {}, props: { test: 111 } });
|
||||
const echoPlugin = new EchoPlugin();
|
||||
const define = echoPlugin.define;
|
||||
echoPlugin.execute({ context: {}, props: { test: 111 } });
|
||||
expect(define.name).eq("EchoPlugin");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user