Revert "Format all code with prettier (#197)" (#198)

This reverts commit 28382b7e45.
This commit is contained in:
filtered
2024-10-09 04:14:36 +11:00
committed by GitHub
parent 28382b7e45
commit 5d510cd674
25 changed files with 14522 additions and 16453 deletions

View File

@@ -1,23 +1,23 @@
import type { JestConfigWithTsJest } from "ts-jest";
import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
testMatch: ["**/test/**/*.test.ts"],
testEnvironment: "jsdom",
moduleFileExtensions: ["js", "jsx", "json", "ts"],
testMatch: ['**/test/**/*.test.ts'],
testEnvironment: 'jsdom',
moduleFileExtensions: ['js', 'jsx', 'json', 'ts'],
transform: {
"^.+\\.m?[tj]sx?$": [
"ts-jest",
'^.+\\.m?[tj]sx?$': [
'ts-jest',
{
tsconfig: "./tsconfig.json",
},
],
tsconfig: './tsconfig.json',
}
]
},
clearMocks: true,
resetModules: true,
testTimeout: 10000,
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1",
'^@/(.*)$': '<rootDir>/src/$1',
},
};
}
export default jestConfig;
export default jestConfig