-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using jest projects config to run tests (#135)
* 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 * fix e2e root dir path
- Loading branch information
1 parent
51b3e5c
commit 0e24d72
Showing
20 changed files
with
10,957 additions
and
15,276 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
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'], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.