-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate tests from karma to jest (#68)
* chore: set jest test environment chore: remove karma-jasmine test environment * chore: migrate tests from jasmine to jest * chore: apply code reviews * chore: update readme * chore: change mocking method * chore: improve readability of tests chore: change to a more appropriate matcher * chore: apply code reviews * docs: change the word to match contextual intent
- Loading branch information
1 parent
882221b
commit 0fe4954
Showing
21 changed files
with
8,468 additions
and
5,819 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 |
---|---|---|
|
@@ -35,10 +35,6 @@ Desktop.ini | |
.project | ||
.metadata | ||
|
||
#report / screenshots | ||
report | ||
screenshots | ||
|
||
# Atom | ||
tags | ||
.ctags | ||
|
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,9 @@ | ||
/* eslint-disable strict */ | ||
module.exports = { | ||
moduleFileExtensions: ['js'], | ||
testEnvironment: 'jsdom', | ||
testMatch: ['<rootDir>/**/*.spec.js'], | ||
transformIgnorePatterns: ['<rootDir>/node_modules/'], | ||
clearMocks: true, | ||
setupFilesAfterEnv: ['jest-extended'] | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.