1 Star 0 Fork 1

gsls200808/wordpress

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.test.ts 535 Bytes
一键复制 编辑 原始数据 按行查看 历史
wss-gitee 提交于 2021-04-14 13:36 +08:00 . feat: init repo
import ComponentStarter from '../src/index';
describe('test/index.test.ts', () => {
it('should 返回输入参数', async () => {
const componentStarter = new ComponentStarter();
const argParams = {
Region: 'cn-hangzhou',
CodeUri: './src',
ProjectName: 'ExpressComponent',
Component: 'component-stater',
Provider: 'alibaba',
AccessAlias: '',
Command: 'test',
};
const result = await componentStarter.test(argParams);
expect(result.Result).toBe('hello world');
});
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gsls200808/wordpress.git
git@gitee.com:gsls200808/wordpress.git
gsls200808
wordpress
wordpress
0.0.4

搜索帮助

371d5123 14472233 46e8bd33 14472233