strapi/cli-tests/jest.config.js
Ben Irvin d5e752fe61
test: initialize CLI e2e testing framework
* 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
2024-01-08 11:23:26 +01:00

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;