Skip to content

Commit 69c8a2b

Browse files
authored
Migrate tests to Vitest (#109)
## Summary - replace Jest with Vitest 4.1.0 for the TypeScript test suite - simplify and restructure the tests with clearer describe blocks and shared mock state - remove the old Jest config and use a minimal Vitest config ## Verification - npm run build - npm run test
1 parent d75b145 commit 69c8a2b

11 files changed

Lines changed: 1832 additions & 5167 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Run the unit tests:
4040
npm test
4141
```
4242

43-
This runs the TypeScript tests directly with Jest via `ts-jest`.
43+
This runs the TypeScript tests directly with Vitest.
4444

4545
## Validate
4646

dist/index.cjs

Lines changed: 1 addition & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.cjs

Lines changed: 1 addition & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jest.config.mjs

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)