strapi/jest.config.api.js

19 lines
454 B
JavaScript
Raw Normal View History

2022-11-16 16:31:01 +01:00
'use strict';
2019-03-06 19:19:33 +01:00
module.exports = {
2022-07-11 18:56:57 +02:00
displayName: 'API integration tests',
testMatch: ['**/?(*.)+(spec|test).api.(js|ts)'],
2019-03-06 19:19:33 +01:00
testEnvironment: 'node',
2024-04-02 11:19:43 +02:00
setupFilesAfterEnv: ['<rootDir>/tests/setup/jest-api.setup.js'],
2019-03-06 19:19:33 +01:00
coveragePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/node_modules/',
'<rootDir>/out-tsc/',
'<rootDir>/test/',
],
transform: {
'^.+\\.ts$': ['@swc/jest'],
},
modulePathIgnorePatterns: ['.cache'],
2019-03-06 19:19:33 +01:00
};