File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // eslint-disable-next-line import/no-extraneous-dependencies
12import { pathsToModuleNameMapper } from 'ts-jest'
2- import tsConfig from './tsconfig.jest.json' assert { type : 'json '}
3+ import { readFileSync } from 'node:fs'
4+
5+ const tsConfig = JSON . parse ( readFileSync ( './tsconfig.jest.json' , 'utf-8' ) )
36
47export default {
58 testEnvironment : 'node' ,
Original file line number Diff line number Diff line change 1+ // eslint-disable-next-line import/no-extraneous-dependencies
12import { pathsToModuleNameMapper } from 'ts-jest'
2- import tsConfig from './tsconfig.jest.json' assert { type : 'json '}
3+ import { readFileSync } from 'node:fs'
4+
5+ const tsConfig = JSON . parse ( readFileSync ( './tsconfig.jest.json' , 'utf-8' ) )
36
47export default {
58 testEnvironment : 'node' ,
Original file line number Diff line number Diff line change 1+ // eslint-disable-next-line import/no-extraneous-dependencies
12import { pathsToModuleNameMapper } from 'ts-jest'
2- import tsConfig from './tsconfig.jest.json' assert { type : 'json '}
3+ import { readFileSync } from 'node:fs'
4+
5+ const tsConfig = JSON . parse ( readFileSync ( './tsconfig.jest.json' , 'utf-8' ) )
36
47export default {
58 testEnvironment : 'node' ,
You can’t perform that action at this time.
0 commit comments