Skip to content

Commit 5196988

Browse files
committed
test: use snapshot
1 parent f3a0708 commit 5196988

File tree

4 files changed

+682
-458
lines changed

4 files changed

+682
-458
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build": "npm run build-downlevel-dts && tsc --project tsconfig.build.plugin.json && tsc --project tsconfig.build.insertStyle.json",
1717
"build-downlevel-dts": "node scripts/clean-and-run-downlevel-dts.js",
1818
"downlevel-dts": "downlevel-dts . ts3.5 [--to=3.5]",
19-
"test": "nyc --reporter=html --reporter=text ava ./test/*.test.ts -s && npm run test:rollup.config.spec.ts",
19+
"test": "nyc --reporter=html --reporter=text ava && npm run test:rollup.config.spec.ts",
2020
"coverage": "nyc report --reporter=text-lcov | coveralls",
2121
"output-coverage-lcov": "nyc report --reporter=text-lcov > coverage/tests.lcov",
2222
"test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit",
@@ -50,6 +50,9 @@
5050
"dist"
5151
],
5252
"ava": {
53+
"files": [
54+
"./test/*.test.ts"
55+
],
5356
"extensions": [
5457
"ts"
5558
],

0 commit comments

Comments
 (0)