Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 微生成器启用「单元测试 / 集成测试」功能, [info]提示的信息错误 #5046

Closed
wangjue666 opened this issue Dec 7, 2023 · 0 comments · Fixed by #5056
Labels
bug Something isn't working

Comments

@wangjue666
Copy link

版本信息

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor

    Memory: 5.87 GB / 15.95 GB
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (119.0.2151.72)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @modern-js/eslint-config: 2.41.0 => 2.41.0
    @modern-js/module-tools: 2.41.0 => 2.41.0
    @modern-js/plugin-testing: 2.41.0 => 2.41.0

问题详情

[INFO] 依赖自动安装成功

[INFO] 安装插件依赖成功!请添加如下代码至 modern.config.ts :

import { testPlugin } from '@modern-js/plugin-testing';

export default defineConfig({
  ...,
  plugins: [..., testPlugin()],
});

[INFO] 添加完成后,你可运行 pnpm run test 运行测试用例。

testPlugin 应该为 testingPlugin

复现链接

复现步骤

npm run new 选择启用 启用「单元测试 / 集成测试」功能

@wangjue666 wangjue666 added the bug Something isn't working label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant