strapi/jest.config.cli.js

19 lines
450 B
JavaScript
Raw Normal View History

2024-02-09 10:44:33 +01:00
'use strict';
module.exports = {
displayName: 'CLI tests',
testMatch: ['**/?(*.)+(spec|test).cli.(js|ts)'],
testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/../../../test/setup/jest-cli.setup.js'],
coveragePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/node_modules/',
'<rootDir>/out-tsc/',
'<rootDir>/test/',
],
transform: {
'^.+\\.ts$': ['@swc/jest'],
},
modulePathIgnorePatterns: ['.cache'],
};