Skip to content

Commit 2498d00

Browse files
author
Kewin Polok
committed
Add possibility to run tests in watch mode
1 parent f6fafb3 commit 2498d00

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ build-watch: ## build with watch
3939

4040
test: ## run test
4141
${DOCKER_RUN_NODE} yarn test
42+
43+
test--watch: ## run test
44+
${DOCKER_RUN_NODE} yarn test:watch

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"lint": "eslint .",
1515
"start": "tsdx watch",
1616
"test": "tsdx test --runInBand",
17+
"test:watch": "tsdx test --watchAll",
1718
"prepare": "yarn build",
1819
"prepublishOnly": "yarn lint && yarn test"
1920
},

0 commit comments

Comments
 (0)