-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e68f0e3
commit 76827ad
Showing
17 changed files
with
79,665 additions
and
1,410 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 |
---|---|---|
@@ -1,25 +1,19 @@ | ||
const conf = { | ||
preset: 'ts-jest', | ||
testPathIgnorePatterns: ['node_modules', 'sdk-1.*'] | ||
}; | ||
|
||
module.exports = { | ||
projects: [ | ||
// { | ||
// displayName: 'Browser', | ||
// testEnvironment: './test/jest/custom-test-env.js', | ||
// ...conf | ||
// }, | ||
{ | ||
displayName: 'browser', | ||
browser: true, | ||
preset: 'ts-jest', | ||
testEnvironment: './test/jest/custom-test-env.js', | ||
testPathIgnorePatterns: ['node_modules', 'sdk-*'], | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest' | ||
}, | ||
moduleFileExtensions: ['ts', 'js'] | ||
}, | ||
{ | ||
displayName: 'node', | ||
preset: 'ts-jest', | ||
displayName: 'Nodejs', | ||
testEnvironment: 'node', | ||
testPathIgnorePatterns: ['node_modules', 'sdk-*'], | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest' | ||
}, | ||
moduleFileExtensions: ['ts', 'js'] | ||
...conf | ||
} | ||
] | ||
}; |
Oops, something went wrong.