fix(design-system): fix typist tests

This commit is contained in:
41666 2020-10-24 21:02:41 -04:00
parent b3c384421b
commit 4c3f5de0f6
7 changed files with 35 additions and 15 deletions

View file

@ -5,7 +5,7 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'enzyme',
reporters: ['default', './jest-reporter'],
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components'],
setupFilesAfterEnv: ['jest-enzyme', 'jest-styled-components', './hack/jestSetup.ts'],
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, {
prefix: '<rootDir>/',
}),