Skip to content

Commit

Permalink
test(echo): migrate from Jest to Vitest (#5736)
Browse files Browse the repository at this point in the history
* refactor(test): migrate from Jest to Vitest

* chore: update lockfile

---------

Co-authored-by: Dima Grossman <[email protected]>
  • Loading branch information
rifont and scopsy authored Jun 16, 2024
1 parent 4402372 commit a722928
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 504 deletions.
286 changes: 0 additions & 286 deletions packages/echo/jest.config.mjs

This file was deleted.

10 changes: 4 additions & 6 deletions packages/echo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "jest",
"test": "vitest",
"test:watch": "vitest --watch",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --check --ignore-path .gitignore .",
Expand Down Expand Up @@ -82,22 +83,19 @@
}
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@sveltejs/kit": "^2.5.10",
"@types/express": "^4.17.13",
"@types/jest": "^29.5.12",
"@types/json-schema": "^7.0.15",
"@types/node": "^20.11.20",
"@vercel/node": "^2.15.9",
"express": "^4.18.2",
"h3": "^1.11.1",
"jest": "^29.7.0",
"next": "^13.5.4",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"vitest": "^1.2.1"
},
"dependencies": {
"ajv": "^8.12.0",
Expand Down
Loading

0 comments on commit a722928

Please sign in to comment.