mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-20 19:48:18 -06:00
PR-342468: fixing test.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
const { pathsToModuleNameMapper } = require('ts-jest');
|
||||
const { compilerOptions } = require('./tsconfig');
|
||||
const { compilerOptions } = require('./tsconfig.json');
|
||||
|
||||
const aliases = pathsToModuleNameMapper(compilerOptions.paths, {
|
||||
prefix: '<rootDir>'
|
||||
@ -14,4 +14,4 @@ module.exports = {
|
||||
'\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/src/__mocks__/fileMock.ts',
|
||||
'\\.(css|sass|scss|less)$': 'identity-obj-proxy'
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user