-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example clean-up: get rid of karma, extract jest config, fix bui… (#316)
* Get rid of karma, extract jest config, fix pathes * update CHANGELOG
- Loading branch information
1 parent
24045bc
commit 20ba6fd
Showing
9 changed files
with
39 additions
and
485 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
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,15 @@ | ||
module.exports = { | ||
preset: "jest-preset-angular", | ||
snapshotSerializers: [ | ||
"jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js", | ||
"jest-preset-angular/build/AngularSnapshotSerializer.js", | ||
"jest-preset-angular/build/HTMLCommentSerializer.js" | ||
], | ||
moduleNameMapper: { | ||
"\\.(jpg|jpeg|png)$": "<rootDir>/__mocks__/image.js", | ||
"^@lib/(.*)$": "<rootDir>/src/lib/$1" | ||
}, | ||
setupFilesAfterEnv: [ | ||
"<rootDir>/src/setupJest.ts" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
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
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.