-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from aiven/setup-frontend-testing
Setup frontend testing
- Loading branch information
Showing
5 changed files
with
2,272 additions
and
60 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* For a detailed explanation regarding each configuration property and type check, visit: | ||
* https://jestjs.io/docs/configuration | ||
*/ | ||
|
||
export default { | ||
moduleFileExtensions: ["js", "jsx", "ts", "tsx"], | ||
preset: "ts-jest", | ||
testEnvironment: "jsdom", | ||
setupFilesAfterEnv: ['<rootDir>/test-setup/setup-files-after-env.ts'], | ||
moduleNameMapper: { | ||
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|svg)$": | ||
"jest-transform-stub", | ||
"^@/(.*)$": "<rootDir>/src/$1", | ||
}, | ||
}; |
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
Oops, something went wrong.