v3/packages/design-system/jest.config.js

17 lines
398 B
JavaScript

module.exports = {
name: 'design-system',
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'jsdom',
reporters: ['default'],
setupFilesAfterEnv: [
'jest-styled-components',
'../../hack/jestSetup.ts',
'./hack/jestSetup.ts',
],
snapshotSerializers: ['enzyme-to-json/serializer'],
globals: {
'ts-jest': {
tsconfig: '../../tsconfig.test.json',
},
},
};