-
Notifications
You must be signed in to change notification settings - Fork 3
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 (#21)
* chore: set jest test environment chore: remove karma-jasmine test environment * chore: migrate tests from jasmine to jest * chore: remove unnecessary dependency * chore: change mocking method * chore: apply code reviews * chore: apply code reivews * docs: change the word to match contextual intent
- Loading branch information
1 parent
e9a6fa7
commit 7d4ea42
Showing
13 changed files
with
7,205 additions
and
6,935 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 |
---|---|---|
|
@@ -34,10 +34,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
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: ['./test/setup-globals.js'] | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.