strapi/jest.config.e2e.js
2021-08-10 19:19:24 +02:00

21 lines
563 B
JavaScript

module.exports = {
name: 'API integration tests',
testMatch: ['**/?(*.)+(spec|test).e2e.js'],
testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/test/jest2e2.setup.js'],
testPathIgnorePatterns: [
'<rootDir>/packages/plugins/graphql',
'graphql.test.e2e.js',
'graphqlUpload.test.e2e.js',
'<rootDir>/packages/core/database.old',
],
coveragePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/node_modules/',
'<rootDir>/out-tsc/',
'<rootDir>/test/',
],
transform: {},
modulePathIgnorePatterns: ['.cache'],
};