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: use vitest #358

Merged
merged 1 commit into from
Jun 25, 2024
Merged
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
chore: use vitest
johanneswuerbach committed Jun 25, 2024
commit 42edb733975de4d395c6227acd3c9e5cc046c300
22 changes: 0 additions & 22 deletions jest.config.ts

This file was deleted.

6,643 changes: 2,420 additions & 4,223 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"types": "./dist/index.d.ts",
"scripts": {
"lint": "npx eslint .",
"test": "jest",
"test": "vitest",
"build": "tsc",
"prepare": "npm run build"
},
@@ -15,19 +15,15 @@
"author": "support@humanitec.com",
"license": "Apache-2.0",
"devDependencies": {
"@jest/globals": "^29.3.1",
"@openapitools/openapi-generator-cli": "^2.5.2",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^20.1.0",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.3.1",
"prettier": "^3.0.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.2",
"typescript": "^5.0.2",
"typescript-eslint": "^8.0.0-alpha.30"
"typescript-eslint": "^8.0.0-alpha.30",
"vitest": "^1.6.0"
},
"files": [
"dist/"
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, test, beforeEach, afterEach } from "@jest/globals";
import { describe, expect, test, beforeEach, afterEach } from "vitest";
import { createServer, IncomingMessage, RequestListener } from "node:http";
import { AddressInfo } from "node:net";