We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081d98c commit 2fce180Copy full SHA for 2fce180
13-自动化测试&mock数据/jest-test/06-hook.js
@@ -9,7 +9,7 @@ export default class Counter {
9
this.number = 0
10
}
11
addOne () {
12
- this.number += 1
+ this.number += 3
13
14
minusOne () {
15
this.number -= 1
13-自动化测试&mock数据/jest-test/package.json
@@ -4,7 +4,7 @@
4
"description": "",
5
"main": "index.js",
6
"scripts": {
7
- "test": "jest",
+ "test": "jest --watchAll",
8
"coverage": "jest --coverage"
},
"author": "",
0 commit comments