Created
January 19, 2023 09:51
-
-
Save CodeNinja47/62ba85b3154dbde2ce95afbef271cfbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
clearMocks: true, | |
collectCoverage: true, | |
coverageDirectory: "coverage", | |
moduleNameMapper: { | |
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": | |
"identity-obj-proxy", | |
"\\.(css|less|scss|sass)$": "identity-obj-proxy" | |
}, | |
setupFilesAfterEnv: ["./jest.setup.ts"], | |
testEnvironment: "jest-environment-jsdom", | |
testMatch: ["**/*.spec.(ts|tsx)"], | |
transform: { | |
"^.+\\.tsx?$": "ts-jest" | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment