-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrading jest to support global setup on multi-projects;
jestjs/jest#6865 updating deprecated property remove tsconfig.jest.json ignore d.ts files form coverage This reverts commit 7875345cadaee70b4f2cb2c2d5d3d8554fe0354f.
- Loading branch information
1 parent
d0dc461
commit 685153e
Showing
11 changed files
with
10,612 additions
and
11,582 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
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,16 +1,5 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
var common = require('./jest.common.config'); | ||
|
||
module.exports = { | ||
...common, | ||
coverageDirectory: './test-results/unit/coverage', | ||
setupFiles: ['<rootDir>/src/tests/unit/jest-setup.ts'], | ||
moduleFileExtensions: ['ts', 'tsx', 'js'], | ||
roots: ['<rootDir>/src/tests/unit'], | ||
collectCoverage: true, | ||
collectCoverageFrom: ['<rootDir>/src/**/*.{ts,tsx}', '!<rootDir>/src/tests/**'], | ||
coverageReporters: ['json', 'lcov', 'text', 'cobertura'], | ||
testEnvironment: 'jsdom', | ||
reporters: ['default', ['jest-junit', { outputDirectory: '.', outputName: './test-results/unit/junit.xml' }]], | ||
projects: ['<rootDir>/src/tests/unit', '<rootDir>/src/tests/end-to-end'], | ||
}; |
Oops, something went wrong.