From b3cf542fd5f0681d8f51575e862fb1d7710cc812 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 1 Mar 2026 04:57:59 +0100 Subject: [PATCH] Rename jest config to ts --- backend/api/eslint.config.mjs | 2 +- backend/api/package.json | 4 ++-- backend/email/eslint.config.mjs | 2 +- backend/email/package.json | 2 +- backend/shared/eslint.config.mjs | 2 +- backend/shared/package.json | 2 +- common/eslint.config.mjs | 2 +- common/package.json | 2 +- web/package.json | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/backend/api/eslint.config.mjs b/backend/api/eslint.config.mjs index c70d6db5..821e1cb1 100644 --- a/backend/api/eslint.config.mjs +++ b/backend/api/eslint.config.mjs @@ -68,7 +68,7 @@ export default tseslint.config( 'lib', 'coverage', 'eslint.config.mjs', - 'jest.config.js', + 'jest.config.ts', 'ecosystem.config.js', ], }, diff --git a/backend/api/package.json b/backend/api/package.json index 2153e44a..53ca3f8c 100644 --- a/backend/api/package.json +++ b/backend/api/package.json @@ -22,8 +22,8 @@ "typecheck": "yarn build && npx tsc --noEmit", "regen-types": "cd ../supabase && make ENV=prod regen-types", "regen-types-dev": "cd ../supabase && make ENV=dev regen-types-dev", - "test": "jest --config jest.config.js", - "test:coverage": "jest --config jest.config.js --coverage" + "test": "jest --config jest.config.ts", + "test:coverage": "jest --config jest.config.ts --coverage" }, "engines": { "node": ">=20.0.0" diff --git a/backend/email/eslint.config.mjs b/backend/email/eslint.config.mjs index c70d6db5..821e1cb1 100644 --- a/backend/email/eslint.config.mjs +++ b/backend/email/eslint.config.mjs @@ -68,7 +68,7 @@ export default tseslint.config( 'lib', 'coverage', 'eslint.config.mjs', - 'jest.config.js', + 'jest.config.ts', 'ecosystem.config.js', ], }, diff --git a/backend/email/package.json b/backend/email/package.json index 95441472..3986f2df 100644 --- a/backend/email/package.json +++ b/backend/email/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "email dev --port 3001", "build": "tsc -b", - "test": "jest --config jest.config.js --passWithNoTests", + "test": "jest --config jest.config.ts --passWithNoTests", "lint": "npx eslint . --max-warnings 0", "lint-fix": "npx eslint . --fix", "typecheck": "npx tsc --noEmit" diff --git a/backend/shared/eslint.config.mjs b/backend/shared/eslint.config.mjs index 98038bff..dbd498b0 100644 --- a/backend/shared/eslint.config.mjs +++ b/backend/shared/eslint.config.mjs @@ -62,6 +62,6 @@ export default tseslint.config( }, }, { - ignores: ['dist', 'lib', 'coverage', 'eslint.config.mjs', 'jest.config.js'], + ignores: ['dist', 'lib', 'coverage', 'eslint.config.mjs', 'jest.config.ts'], }, ) diff --git a/backend/shared/package.json b/backend/shared/package.json index bd932d8b..819c6aa2 100644 --- a/backend/shared/package.json +++ b/backend/shared/package.json @@ -8,7 +8,7 @@ "lint": "npx eslint . --max-warnings 0", "lint-fix": "npx eslint . --fix", "typecheck": "npx tsc --noEmit", - "test": "jest --config jest.config.js --passWithNoTests" + "test": "jest --config jest.config.ts --passWithNoTests" }, "sideEffects": false, "dependencies": { diff --git a/common/eslint.config.mjs b/common/eslint.config.mjs index 7342bc50..ea90add1 100644 --- a/common/eslint.config.mjs +++ b/common/eslint.config.mjs @@ -84,7 +84,7 @@ export default tseslint.config( }, }, { - ignores: ['lib', 'coverage', 'jest.config.js', 'eslint.config.mjs'], + ignores: ['lib', 'coverage', 'jest.config.ts', 'eslint.config.mjs'], }, eslintConfigPrettier, ) diff --git a/common/package.json b/common/package.json index ce175261..8fcab82a 100644 --- a/common/package.json +++ b/common/package.json @@ -8,7 +8,7 @@ "lint": "npx eslint . --max-warnings 0", "lint-fix": "npx eslint . --fix", "typecheck": "npx tsc --noEmit", - "test": "jest --config jest.config.js --passWithNoTests" + "test": "jest --config jest.config.ts --passWithNoTests" }, "sideEffects": false, "dependencies": { diff --git a/web/package.json b/web/package.json index 1597811d..dca964c9 100644 --- a/web/package.json +++ b/web/package.json @@ -17,7 +17,7 @@ "typecheck": "npx tsc --noEmit", "prettier": "npx prettier --write .", "format-changed": "cd .. && git diff $(git merge-base --fork-point main) --name-only --diff-filter=d | xargs npx prettier -w", - "test": "jest --config jest.config.js --passWithNoTests" + "test": "jest --config jest.config.ts --passWithNoTests" }, "dependencies": { "@floating-ui/react": "0.19.0",