-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrates testing to use Jest and normalizes the function scopes
Mocha, chai and sinon are slowly losing support and start conflicting with dependencies. Moving to Jest to future proof and make it a common use within our group.
- Loading branch information
Showing
7 changed files
with
3,545 additions
and
1,084 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = { | ||
collectCoverage: true, | ||
collectCoverageFrom: [ | ||
'./src/**/*.[jt]s?(x)' | ||
], | ||
coverageDirectory: 'coverage', | ||
coveragePathIgnorePatterns: [ | ||
'/node_modules/' | ||
], | ||
moduleFileExtensions: [ | ||
'js', | ||
'json' | ||
], | ||
rootDir: '.', | ||
testEnvironment: 'node', | ||
testMatch: [ | ||
'**/__tests__/**/*.[jt]s?(x)', | ||
'**/?(*.)+(spec).[tj]s?(x)' | ||
], | ||
testPathIgnorePatterns: [ | ||
'/node_modules/' | ||
], | ||
}; |
Oops, something went wrong.