mirror of
https://github.com/kou029w/jest-hands-on.git
synced 2025-01-31 14:07:58 +00:00
use --watchAll flag
This commit is contained in:
parent
d26e0f2a2f
commit
a574f1d844
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ Jestを使ってどうやってテストするのか?といった疑問に答
|
|||
テストを行っていくための最初の一歩になればと思います。
|
||||
|
||||
<iframe
|
||||
src="https://stackblitz.com/github/kou029w/jest-hands-on/tree/main/templates/template?embed=1&view=editor&terminal=test&file=sum.js,sum.test.js"
|
||||
src="https://stackblitz.com/github/kou029w/jest-hands-on/tree/main/templates/template?embed=1&view=editor&terminal=watch&file=sum.js,sum.test.js"
|
||||
style="
|
||||
width: 100%;
|
||||
height: 640px;
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"main": "main.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"watch": "jest --watchAll"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.18.9",
|
||||
|
|
Loading…
Add table
Reference in a new issue