-
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 (#32)
* chore: set jest test environment chore: remove karma-jasmine test environment * chore: migrate tests from jasmine to jest * chore: remove unnecessary file * docs: change the word to match contextual intent * chore: apply code reviews
- Loading branch information
1 parent
7fe2020
commit 3e982b0
Showing
12 changed files
with
6,349 additions
and
6,274 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,12 @@ | ||
/* eslint-disable strict */ | ||
module.exports = { | ||
moduleFileExtensions: ['js'], | ||
testEnvironment: 'jsdom', | ||
testMatch: ['<rootDir>/**/*.spec.js'], | ||
transformIgnorePatterns: ['<rootDir>/node_modules/'], | ||
clearMocks: true, | ||
moduleNameMapper: { | ||
'^@/(.*)$': '<rootDir>/src/js/$1' | ||
}, | ||
setupFilesAfterEnv: ['./test/setup-globals.js'] | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.