diff --git a/src/README.md b/src/README.md index 5bbc7b7..94b24b7 100644 --- a/src/README.md +++ b/src/README.md @@ -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; diff --git a/templates/template/package.json b/templates/template/package.json index 73552db..bc47cb9 100644 --- a/templates/template/package.json +++ b/templates/template/package.json @@ -5,7 +5,8 @@ "main": "main.js", "type": "module", "scripts": { - "test": "jest" + "test": "jest", + "watch": "jest --watchAll" }, "devDependencies": { "@babel/preset-env": "^7.18.9",