mirror of
https://github.com/strapi/strapi.git
synced 2025-07-14 04:21:56 +00:00

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com> Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
19 lines
453 B
JavaScript
19 lines
453 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
displayName: 'API integration tests',
|
|
testMatch: ['**/?(*.)+(spec|test).api.(js|ts)'],
|
|
testEnvironment: 'node',
|
|
setupFilesAfterEnv: ['<rootDir>/test/setup/jest-api.setup.js'],
|
|
coveragePathIgnorePatterns: [
|
|
'<rootDir>/dist/',
|
|
'<rootDir>/node_modules/',
|
|
'<rootDir>/out-tsc/',
|
|
'<rootDir>/test/',
|
|
],
|
|
transform: {
|
|
'^.+\\.ts$': ['@swc/jest'],
|
|
},
|
|
modulePathIgnorePatterns: ['.cache'],
|
|
};
|