Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move jest test to vitest #130

Merged
merged 5 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ check:
## test-unit: run unit tests
.PHONY: test-unit
test-unit:
npx jest --verbose --detectOpenHandles --config jest.config.js test/unit
npx vitest --dir test/unit --run --reporter verbose --config vitest.config.mjs

## test-integration: run integration tests
.PHONY: test-integration
test-integration:
npx jest --verbose --detectOpenHandles --config jest.config.js test/integration --forceExit
npx vitest --dir test/integration --run --reporter verbose --config vitest.config.mjs

## test: run all tests
.PHONY: test
Expand Down
4 changes: 1 addition & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ typescript:
pdf-lib: ^1.17.1
devDependencies:
'@types/async': ^3.2.24
'@types/jest': ^29.5.12
jest: ^29.7.0
ts-jest: ^29.1.2
vitest: ^2.1.3
peerDependencies: {}
additionalPackageJSON: {}
author: Unstructured
Expand Down
16 changes: 0 additions & 16 deletions jest.config.js

This file was deleted.

Loading
Loading