testing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTesting
测试
Commands (Node/Frontend - Vitest)
命令(Node/前端 - Vitest)
- - run tests
npm test - - watch mode
npm run test:watch - - with coverage
npm run test:ci
- - 运行测试
npm test - - 监听模式
npm run test:watch - - 包含测试覆盖率
npm run test:ci
Workflow
工作流程
- Run
npm test - Report results concisely
- Show failing test names and file paths
- 运行
npm test - 简洁地报告测试结果
- 显示失败的测试名称及文件路径
Rules
规则
- Default to
npm test - Don't modify tests unless requested
- 默认使用命令
npm test - 除非用户明确要求,否则不得修改测试内容