Skip to content

Commit 66d7d67

Browse files
committed
feat: add jest:watch script to js/jest
1 parent 32a1079 commit 66d7d67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"lint": "eslint \"src/**/*.ts\"",
2121
"lint:fix": "eslint \"src/**/*.ts\" --fix",
2222
"test": "jest",
23+
"test:watch": "jest --watch",
2324
"test:coverage": "jest --coverage"
2425
},
2526
"repository": {

src/categories/js/jest.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const CONFIG_FILENAME = 'jest.config.cjs';
1313

1414
const scripts: NpmScript[] = [
1515
{ name: 'test', script: 'jest' },
16+
{ name: 'test:watch', script: 'jest --watch' },
1617
{ name: 'test:coverage', script: 'jest --coverage' },
1718
];
1819

0 commit comments

Comments
 (0)