From edf3e4bfaaa5d8c47307e472b48d9546d55360f7 Mon Sep 17 00:00:00 2001 From: DetachHead Date: Tue, 11 Apr 2023 21:39:44 +1000 Subject: [PATCH] remove remaining references to jest since we now use bun test --- .eslintrc.js | 4 ---- .vscode/extensions.json | 7 +------ jest.config.ts | 16 ---------------- tsconfig.json | 2 +- 4 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 jest.config.ts diff --git a/.eslintrc.js b/.eslintrc.js index 3c6463b1..77777401 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -26,10 +26,6 @@ const config = { files: ['test/**/*.ts'], parserOptions: { ...parserOptions, project: ['./test/tsconfig.json'] }, }, - { - files: ['jest.config.ts'], - parserOptions: configFileParserOptions, - }, { files: ['.eslintrc.js'], parserOptions: configFileParserOptions, diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 9e0d73da..a386c116 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,8 +1,3 @@ { - "recommendations": [ - "orta.vscode-jest", - "esbenp.prettier-vscode", - "dbaeumer.vscode-eslint", - "mhutchie.git-graph" - ] + "recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "mhutchie.git-graph"] } diff --git a/jest.config.ts b/jest.config.ts deleted file mode 100644 index f2ba9998..00000000 --- a/jest.config.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { InitialOptionsTsJest } from 'ts-jest/dist/types' - -const config: InitialOptionsTsJest = { - preset: 'ts-jest', - testEnvironment: 'node', - testRegex: '/test/.*.ts', - globals: { - 'ts-jest': { - babelConfig: { - presets: ['power-assert'], - }, - tsconfig: 'test/tsconfig.json', - }, - }, -} -export default config diff --git a/tsconfig.json b/tsconfig.json index f4b98cf3..417dff10 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,5 +5,5 @@ "allowJs": true, "checkJs": true }, - "include": [".eslintrc.js", "jest.config.ts"] + "include": [".eslintrc.js"] }