/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
tests/cli/jest.config.js
16 строк
503 B
Ben Irvin
fix(test): tighten jest ignore patterns to match path segments (#26753)
23 июн 2026, 17:05
Не верифицирован
23 июн 2026, 17:05
6bf7207
Код
Авторство
О чём код?
'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[/\\\\]', '[/\\\\]dist[/\\\\]'], }; module.exports = config;