Skip to content

Commit

Permalink
chore: replace from jest, to vitest (#95)
Browse files Browse the repository at this point in the history
* remove jest

* add vitest
  • Loading branch information
kobakazu0429 authored Feb 5, 2024
1 parent 5b337ea commit 4820640
Show file tree
Hide file tree
Showing 4 changed files with 622 additions and 1,728 deletions.
8 changes: 0 additions & 8 deletions jest.config.cjs

This file was deleted.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@
"scripts": {
"build": "microbundle",
"dev": "microbundle watch",
"test": "jest --silent=false --verbose false",
"test": "vitest --globals",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@types/jest": "29.5.12",
"jest": "29.2.2",
"microbundle": "0.15.1",
"ts-jest": "29.0.5",
"typescript": "5.3.3"
"typescript": "5.3.3",
"vitest": "^1.2.2"
}
}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"types": [
"vitest/import"
], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
Expand Down
Loading

0 comments on commit 4820640

Please sign in to comment.