mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-12-09 05:41:08 +08:00
17 lines
649 B
JavaScript
17 lines
649 B
JavaScript
export default {
|
|
clearMocks: true,
|
|
collectCoverage: true,
|
|
collectCoverageFrom: ['src/**/*.js'],
|
|
coverageDirectory: 'coverage',
|
|
coveragePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/src/test', '<rootDir>/src/index.js'],
|
|
coverageReporters: [['lcov', { projectRoot: '../..' }], 'text', 'clover'],
|
|
errorOnDeprecated: true,
|
|
testEnvironment: 'jsdom',
|
|
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/src/test'],
|
|
transform: {
|
|
'^.+\\.(t|j)sx?$': ['@swc/jest', { configFile: '../../.swcrc.test' }],
|
|
'\\.yaml$': 'jest-transform-yaml',
|
|
},
|
|
snapshotSerializers: ['@emotion/jest/serializer', 'jest-serializer-html'],
|
|
};
|