You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
629 B
JavaScript
33 lines
629 B
JavaScript
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/* global
|
|
require:false
|
|
*/
|
|
|
|
const { defaults } = require('jest-config');
|
|
|
|
module.exports = {
|
|
coverageDirectory: 'reports/coverage',
|
|
coverageReporters: ['lcov'],
|
|
moduleFileExtensions: [
|
|
...defaults.moduleFileExtensions,
|
|
'ts',
|
|
'tsx',
|
|
],
|
|
reporters: [
|
|
'default',
|
|
['jest-junit', { outputDirectory: 'reports/junit' }],
|
|
],
|
|
testMatch: [
|
|
'**/tests/**/*.js',
|
|
],
|
|
testPathIgnorePatterns: [
|
|
'/node_modules/',
|
|
'/tests/mocks/*',
|
|
],
|
|
automock: false,
|
|
};
|