Skip to content
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 .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Checks

- [ ] Adding/modifying Typescript code?
- [ ] I have used `qs`,`qsa` or `qsr` instead of JQuery selectors.
- [ ] I have used `qs`, `qsa` or `qsr` instead of JQuery selectors.
- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the description (or another comment) so we can verify their content.
- [ ] Adding a language?
Expand All @@ -18,7 +18,7 @@
- [ ] Add theme to `packages/schemas/src/themes.ts`
- [ ] Add theme to `frontend/src/ts/constants/themes.ts`
- [ ] Add theme css file to `frontend/static/themes`
- [ ] Add some screenshot of the theme, especially with different test settings (colorful, flip colors) to your pull request
- [ ] Add some screenshots of the theme, especially with different test settings (colorful, flip colors) to your pull request
- [ ] Adding a layout?
- [ ] Make sure to follow the [layouts documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md)
- [ ] Add layout to `packages/schemas/src/layouts.ts`
Expand Down
9 changes: 8 additions & 1 deletion backend/__tests__/__integration__/global-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
6 changes: 3 additions & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Loading
Loading