mirror of https://github.com/certd/certd
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
![]() |
import { expect } from "chai";
|
||
|
import "mocha";
|
||
|
import { EchoPlugin } from "../src/plugin";
|
||
|
describe("task_plugin", function () {
|
||
|
it("#taskplugin", function () {
|
||
|
const echoPlugin = new EchoPlugin();
|
||
|
const define = echoPlugin.define;
|
||
|
echoPlugin.execute({ context: {}, props: { test: 111 } });
|
||
|
expect(define.name).eq("EchoPlugin");
|
||
|
});
|
||
|
});
|