Skip to content

Commit

Permalink
test: use snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalexiei committed Aug 3, 2024
1 parent f3a0708 commit 3cd38e9
Show file tree
Hide file tree
Showing 4 changed files with 681 additions and 458 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "npm run build-downlevel-dts && tsc --project tsconfig.build.plugin.json && tsc --project tsconfig.build.insertStyle.json",
"build-downlevel-dts": "node scripts/clean-and-run-downlevel-dts.js",
"downlevel-dts": "downlevel-dts . ts3.5 [--to=3.5]",
"test": "nyc --reporter=html --reporter=text ava ./test/*.test.ts -s && npm run test:rollup.config.spec.ts",
"test": "nyc --reporter=html --reporter=text ava && npm run test:rollup.config.spec.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"output-coverage-lcov": "nyc report --reporter=text-lcov > coverage/tests.lcov",
"test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit",
Expand Down Expand Up @@ -50,6 +50,9 @@
"dist"
],
"ava": {
"files": [
"./test/*.test.ts"
],
"extensions": [
"ts"
],
Expand Down
Loading

0 comments on commit 3cd38e9

Please sign in to comment.