Skip to content

Commit

Permalink
chore: use vitest for type testing (#2033)
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Zakharchenko <kettanaito@gmail.com>
  • Loading branch information
KaiSpencer and kettanaito committed Mar 21, 2024
1 parent 9af301a commit fc44a2c
Show file tree
Hide file tree
Showing 12 changed files with 1,686 additions and 1,712 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ msw-*.tgz

# Smoke test temporary files.
/package.json.copy
/examples
/examples

tsconfig.vitest-temp.json
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"test:browser": "playwright test -c ./test/browser/playwright.config.ts",
"test:modules:node": "vitest --config=./test/modules/node/vitest.config.ts",
"test:modules:browser": "playwright test -c ./test/modules/browser/playwright.config.ts",
"test:ts": "ts-node test/typings/run.ts",
"test:ts": "vitest --typecheck --config=./test/typings/vitest.config.ts",
"prepare": "pnpm simple-git-hooks init",
"prepack": "pnpm build",
"release": "release publish",
Expand Down Expand Up @@ -182,7 +182,7 @@
"typescript": "^5.4.2",
"undici": "^5.20.0",
"url-loader": "^4.1.1",
"vitest": "^0.34.6",
"vitest": "^1.2.2",
"vitest-environment-miniflare": "^2.14.1",
"webpack": "^5.89.0",
"webpack-http-server": "^0.5.0"
Expand Down

0 comments on commit fc44a2c

Please sign in to comment.