chore: update vitest/testcontainer versions, try to fix container teardown on macos (@fehmer) (#7248)

Co-authored-by: Miodec <jack@monkeytype.com>
This commit is contained in:
Christian Fehmer 2025-12-16 18:11:55 +01:00 committed by GitHub
parent 71e78cd52d
commit 3f21023fc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 265 additions and 245 deletions

View file

@ -31,7 +31,14 @@ export async function setup(): Promise<void> {
process.env["REDIS_URI"] = redisUrl;
}
export async function teardown(): Promise<void> {
async function stopContainers(): Promise<void> {
await startedMongoContainer?.stop();
await startedRedisContainer?.stop();
}
export async function teardown(): Promise<void> {
await stopContainers();
}
process.on("SIGTERM", stopContainers);
process.on("SIGINT", stopContainers);

View file

@ -77,17 +77,17 @@
"@types/swagger-stats": "0.95.11",
"@types/ua-parser-js": "0.7.36",
"@types/uuid": "10.0.0",
"@vitest/coverage-v8": "4.0.8",
"@vitest/coverage-v8": "4.0.15",
"concurrently": "8.2.2",
"openapi3-ts": "2.0.2",
"oxlint": "1.33.0",
"oxlint-tsgolint": "0.9.0",
"readline-sync": "1.4.10",
"supertest": "7.1.4",
"testcontainers": "11.4.0",
"testcontainers": "11.10.0",
"tsx": "4.16.2",
"typescript": "5.9.3",
"vitest": "4.0.8"
"vitest": "4.0.15"
},
"engines": {
"node": "24.11.0 || 22.21.0"

View file

@ -78,7 +78,7 @@
"@types/object-hash": "3.0.6",
"@types/subset-font": "1.4.3",
"@types/throttle-debounce": "5.0.2",
"@vitest/coverage-v8": "4.0.8",
"@vitest/coverage-v8": "4.0.15",
"autoprefixer": "10.4.20",
"concurrently": "8.2.2",
"eslint": "9.39.1",
@ -105,7 +105,7 @@
"vite-plugin-inspect": "11.3.3",
"vite-plugin-minify": "2.1.0",
"vite-plugin-pwa": "1.1.0",
"vitest": "4.0.8"
"vitest": "4.0.15"
},
"browserslist": [
"defaults",

View file

@ -66,7 +66,7 @@
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "19.2.2",
"@monkeytype/release": "workspace:*",
"@vitest/coverage-v8": "4.0.8",
"@vitest/coverage-v8": "4.0.15",
"conventional-changelog": "6.0.0",
"husky": "8.0.1",
"knip": "2.19.2",
@ -77,7 +77,7 @@
"oxlint-tsgolint": "0.9.0",
"prettier": "3.7.1",
"turbo": "2.5.6",
"vitest": "4.0.8"
"vitest": "4.0.15"
},
"packageManager": "pnpm@9.6.0",
"engines": {

View file

@ -33,7 +33,7 @@
"oxlint-tsgolint": "0.9.0",
"tsup": "8.4.0",
"typescript": "5.9.3",
"vitest": "4.0.8"
"vitest": "4.0.15"
},
"peerDependencies": {
"@ts-rest/core": "3.52.1",

View file

@ -29,6 +29,6 @@
"oxlint-tsgolint": "0.9.0",
"tsup": "8.4.0",
"typescript": "5.9.3",
"vitest": "4.0.8"
"vitest": "4.0.15"
}
}

View file

@ -30,7 +30,7 @@
"oxlint-tsgolint": "0.9.0",
"tsup": "8.4.0",
"typescript": "5.9.3",
"vitest": "4.0.8"
"vitest": "4.0.15"
},
"peerDependencies": {
"zod": "3.23.8"

View file

@ -24,7 +24,7 @@
"oxlint-tsgolint": "0.9.0",
"tsup": "8.4.0",
"typescript": "5.9.3",
"vitest": "4.0.8",
"vitest": "4.0.15",
"zod": "3.23.8"
}
}

479
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff