Skip to content

Commit b566f71

Browse files
committed
Update npm scripts to support snapshot testing
1 parent 5397021 commit b566f71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "tsc --build tsconfig.app.json --force",
1313
"build:tests": "tsc --project tsconfig.app.json --outDir dist-test --declarationDir dist && tsc --build tsconfig.test.json",
1414
"clean": "rm -rf dist* *.tsbuildinfo",
15-
"test": "npm run build:tests && node --test"
15+
"test": "npm run build:tests && node --test --experimental-test-snapshots",
16+
"test-update-snapshots": "npm run build:tests && node --test --test-update-snapshots --experimental-test-snapshots"
1617
},
1718
"devDependencies": {
1819
"@types/node": "^22.5.5",

0 commit comments

Comments
 (0)