Delete jest.config.ts

pull/187/head
Michael Truell 2023-03-23 01:34:28 -07:00 committed by GitHub
parent c3b8285c01
commit 8d2246b857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 31 deletions

View File

@ -1,31 +0,0 @@
import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
preset: 'ts-jest/presets/js-with-ts-esm', // or other ESM presets
testEnvironment: 'jsdom',
moduleNameMapper: {
// CSS mapped to style mock
'\\.(css|less)$': '<rootDir>/__mocks__/fileMock.js',
// All other files mapped to file mock
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/__mocks__/fileMock.js',
},
//resolver: 'jest-resolve',
//resolver: 'jest-node-exports-resolver',
//extensionsToTreatAsEsm: ['.ts', '.tsx'],
// transformIgnorePatterns: [
// 'node_modules/(?!(vscode-uri)/)'
// ],
transform: {
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process js/ts/mjs/mts with `ts-jest`
'^.+\\.[tj]sx?$': [
'ts-jest',
{
useESM: true,
},
],
},
}
export default jestConfig