@infomaker/imid-gui
Version:
Utility lib to simplify implementation of IMID related views, such aas 'sign in', 'Unauthorized', 'Session expired' etc.
34 lines • 973 B
JavaScript
module.exports = {
testEnvironment: "jsdom",
setupFiles: [
"jest-localstorage-mock"
],
setupFilesAfterEnv: [
"<rootDir>/enzyme.js"
],
testPathIgnorePatterns: [
"/node_modules/",
"__mocks__",
"/dist/",
"/.history/"
],
automock: false,
collectCoverage: false,
collectCoverageFrom: [
"client/src/**/*.{js,jsx}",
"!**/node_modules/**",
"!**/client/src/**/styled.js"
],
transform: {
"^.+\\.(js|jsx|ts)$": "babel-jest"
},
transformIgnorePatterns: [
"/node_modules/(?!styled-icons).+\\.js$"
],
moduleNameMapper: {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/globalMock.js",
"^@/(.*)$": "<rootDir>/client/src/$1",
"^components/(.*)$": "<rootDir>/client/src/components/$1",
"^scenes/(.*)$": "<rootDir>/client/src/scenes/$1"
}
}