docs: 补充描述:本地运行测试用例前需要执行编译 (#7925)

This commit is contained in:
RUNZE LU 2023-08-24 11:02:56 +08:00 committed by GitHub
parent 8e50513bc5
commit ea9cf1f64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,8 @@ npm start
### 测试
> 注意:本地修改代码后,执行测试用例(`npm test --workspaces`)之前需要先执行`npm run build`完成编译,因为 jest 并不支持支持 TypeScript
```bash
# 安装依赖
npm i --legacy-peer-deps