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

* chore: lint test scripts * chore: clone playwright tests * chore: clean up test runner * feat: add jest test runner with concurrency * chore: documentation * chore: docs * chore: fix prettier * chore: lint * chore: remove log * chore: remove console.logs * fix: ensure enough test apps are available * chore: add log for yalc * chore: fix logging * chore: tests to todos
17 lines
465 B
JavaScript
17 lines
465 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('jest').Config} */
|
|
const config = {
|
|
displayName: 'CLI e2e tests',
|
|
testMatch: ['**/?(*.)+(spec|test).(js|ts)'],
|
|
testEnvironment: 'node',
|
|
// setupFilesAfterEnv: ['<rootDir>/test/setup/jest-api.setup.js'],
|
|
coveragePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/node_modules/', '<rootDir>/out-tsc/'],
|
|
transform: {
|
|
'^.+\\.ts$': ['@swc/jest'],
|
|
},
|
|
modulePathIgnorePatterns: ['.cache'],
|
|
};
|
|
|
|
module.exports = config;
|