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',
|
2023-11-16 16:38:15 +01:00
|
|
|
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/',
|
|
|
|
],
|
2023-11-16 16:38:15 +01:00
|
|
|
transform: {
|
|
|
|
'^.+\\.ts$': ['@swc/jest'],
|
|
|
|
},
|
2020-12-02 15:20:12 +01:00
|
|
|
modulePathIgnorePatterns: ['.cache'],
|
2019-03-06 19:19:33 +01:00
|
|
|
};
|