Skip to content

Commit 3ab2065

Browse files
committed
[更改] 完善项目 README 中测试指定题解的指令
1 parent 1548c01 commit 3ab2065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ yarn test
4040

4141
```shell
4242
# NPM
43-
npx jest [题目编号]
43+
npx jest [题目编号或名称]
4444

4545
# Yarn
46-
yarn jest [题目编号]
46+
yarn jest [题目编号或名称]
4747
```
4848

4949
注:题解源码与单元测试文件的命名需要包含题目编号,如 `[题目编号]_[英文小驼峰题目名称].test.ts`

0 commit comments

Comments
 (0)