mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
d43d305092
This PR is related to the issue #5713 The PR helps to publish test results for reporting in Azure Pipelines. Azure Pipelines provides excellent reporting capabilities that can be leveraged by this PR. An example report is shown in the image below. ![image](https://user-images.githubusercontent.com/13175100/48767951-e8a73580-ecdd-11e8-8e6a-20d7767d7c1b.png)
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
testMatch: ['**/*.test.js'],
|
|
verbose: true,
|
|
bail: true,
|
|
testEnvironment: 'node',
|
|
rootDir: 'test',
|
|
modulePaths: ['<rootDir>/lib'],
|
|
globalSetup: '<rootDir>/jest-global-setup.js',
|
|
globalTeardown: '<rootDir>/jest-global-teardown.js',
|
|
coverageReporters: ['text', 'lcov', 'cobertura']
|
|
}
|