Skip to content

Commit 4ccd917

Browse files
chore: ignore all __snapshots__ directories and add test:unit:verbose script
- Update .gitignore to use **/__snapshots__/ pattern to ignore snapshot files in all subdirectories - Add test:unit:verbose npm script for verbose unit test output Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5634a89 commit 4ccd917

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ fastlane/readme.md
229229
tmp
230230

231231
# test
232-
/__snapshots__/
232+
**/__snapshots__/
233233

234234

235235
.vscode

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"lint:style": "stylelint '**/*.{scss,sass}'",
2626
"lint:style-fix": "stylelint '**/*.{scss,sass}' --fix",
2727
"test": "cross-env NODE_ENV=test ./node_modules/.bin/jest --silent",
28+
"test:unit:verbose":"cross-env NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --notify",
2829
"test:unit": "cross-env NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --notify",
2930
"test:story": "cross-env NODE_ENV=test type=story ./node_modules/.bin/jest --silent --notify --maxWorkers=4",
3031
"test:coverage": "cross-env TZ=Asia/Shanghai NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --coverage --notify",

0 commit comments

Comments
 (0)