Switch to vitest
This commit is contained in:
parent
3be5e7fe78
commit
87b1ed0d22
5 changed files with 669 additions and 2365 deletions
2
.vscode/settings.json
vendored
Normal file
2
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
/** @type {import('ts-jest').JestConfigWithTsJest} **/
|
||||
export default {
|
||||
testEnvironment: "node",
|
||||
transform: {
|
||||
"^.+.tsx?$": ["ts-jest",{}],
|
||||
},
|
||||
};
|
||||
|
|
@ -7,10 +7,8 @@
|
|||
},
|
||||
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387",
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@tsconfig/recommended": "^1.0.8",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
"typescript": "^5.7.2"
|
||||
"typescript": "^5.7.2",
|
||||
"vitest": "^3.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3017
pnpm-lock.yaml
generated
3017
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,4 @@
|
|||
import {test, expect} from '@jest/globals';
|
||||
import {test, expect} from 'vitest';
|
||||
import { freeze, getHash } from '../db/hash';
|
||||
import { memo } from '../db/querydb';
|
||||
import { consume, contentsFromText, getLocation } from '../db/parse';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue