-
Notifications
You must be signed in to change notification settings - Fork 137
/
jest.e2e.config.js
29 lines (27 loc) · 760 Bytes
/
jest.e2e.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Copyright IBM Corp. 2024, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
module.exports = {
preset: 'jest-config-ibm-cloud-cognitive',
collectCoverageFrom: [
'packages/**/src/**/*.js',
'!packages/{cli,components}/**',
'!packages/**/{examples,stories}/**',
'!**/*-story.js',
],
testMatch: [
'<rootDir>/e2e/**/*-test.avt.e2e.js',
'<rootDir>/e2e/**/*-test.vrt.e2e.js'
],
testPathIgnorePatterns: [
'examples',
'/packages/ibm-products-community/',
'/packages/ibm-products/',
],
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'],
reporters: ['default', 'jest-junit'],
};