We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7285d76 commit 02f961eCopy full SHA for 02f961e
README.md
@@ -7,19 +7,31 @@ Ruixe 的 LeetCode 算法题集,使用 TypeScript 语言,集成 Jest 单元
7
### 安装依赖
8
9
```shell
10
+# NPM
11
npm install
12
+
13
+# Yarn
14
+yarn
15
```
16
17
### 测试所有题解
18
19
20
21
npm run test
22
23
24
+yarn test
25
26
27
### 测试指定题解
28
29
30
31
npx jest [题目编号]
32
33
34
+yarn jest [题目编号]
35
36
37
注:题解源码与单元测试文件的命名需要包含题目编号,如 `[题目编号]_[英文小驼峰题目名称].test.ts`
0 commit comments