forked from aws-amplify/amplify-category-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.js
44 lines (44 loc) · 1.98 KB
/
jest.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
preset: 'ts-jest',
bail: false,
verbose: true,
testRunner: 'jest-circus/runner',
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
testPathIgnorePatterns: [
'**/*.d.ts',
'**/__e2e__/',
'**/__integration__/',
'packages/amplify-e2e-core/',
'packages/amplify-e2e-tests/',
'packages/graphql-transformers-e2e-tests/',
'packages/amplify-graphql-transformer-interfaces/',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'core', 'node'],
collectCoverage: true,
collectCoverageFrom: ['src/**/.(ts|tsx|js|jsx)$', '!src/**/*.test.(ts|tsx|js|jsx)$', '!src/**/*.d.ts'],
coverageDirectory: 'coverage',
projects: [
// '<rootDir>/packages/amplify-category-api',
// '<rootDir>/packages/amplify-data-construct',
'<rootDir>/packages/amplify-graphql-api-construct',
'<rootDir>/packages/amplify-graphql-auth-transformer',
'<rootDir>/packages/amplify-graphql-conversation-transformer',
'<rootDir>/packages/amplify-graphql-default-value-transformer',
'<rootDir>/packages/amplify-graphql-function-transformer',
'<rootDir>/packages/amplify-graphql-generation-transformer',
'<rootDir>/packages/amplify-graphql-http-transformer',
'<rootDir>/packages/amplify-graphql-index-transformer',
'<rootDir>/packages/amplify-graphql-model-transformer',
'<rootDir>/packages/amplify-graphql-name-mapping-transformer',
'<rootDir>/packages/amplify-graphql-predictions-transformer',
'<rootDir>/packages/amplify-graphql-relational-transformer',
// '<rootDir>/packages/amplify-graphql-schema-generator',
'<rootDir>/packages/amplify-graphql-searchable-transformer',
'<rootDir>/packages/amplify-graphql-sql-transformer',
// '<rootDir>/packages/amplify-graphql-transformer',
'<rootDir>/packages/amplify-graphql-transformer-core',
'<rootDir>/packages/graphql-mapping-template',
'<rootDir>/packages/graphql-transformer-common',
'<rootDir>/packages/graphql-transformer-core',
],
};