refactor: pipeline edit view

This commit is contained in:
xiaojunnuo
2022-10-26 23:29:10 +08:00
parent 370a28c10e
commit e1466737e3
20 changed files with 89 additions and 94 deletions
+3 -2
View File
@@ -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");
});
});