forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.ts.mjs
34 lines (32 loc) · 920 Bytes
/
jest.config.ts.mjs
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
30
31
32
33
34
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import baseConfig from './jest.config.mjs';
/** @type {import('jest').Config} */
export default {
projects: [
{
displayName: {
color: 'blue',
name: 'ts-integration',
},
modulePathIgnorePatterns: baseConfig.modulePathIgnorePatterns,
roots: ['<rootDir>/e2e/__tests__'],
testMatch: ['<rootDir>/e2e/__tests__/ts*'],
},
{
displayName: {
color: 'blue',
name: 'type-tests',
},
modulePathIgnorePatterns: baseConfig.modulePathIgnorePatterns,
roots: ['<rootDir>/packages'],
runner: 'jest-runner-tsd',
testMatch: ['**/__typetests__/**/*.test.ts'],
},
],
reporters: ['default', 'github-actions'],
};