static-cms/jest.config.js
2022-09-28 22:04:00 -04:00

13 lines
385 B
JavaScript

module.exports = {
setupFilesAfterEnv: ['<rootDir>/setupTestFramework.js'],
moduleNameMapper: {
'\\.(css|less)$': '<rootDir>/__mocks__/styleMock.js',
},
testURL: 'http://localhost:8080',
snapshotSerializers: ['jest-emotion'],
transformIgnorePatterns: [
'node_modules/(?!copy-text-to-clipboard|clean-stack|escape-string-regexp)',
],
testEnvironment: 'jsdom',
};