mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-08 21:16:58 -06:00
PR-579798: Fixing unit testing.
This commit is contained in:
parent
3797b40641
commit
7f15b775ba
@ -7,6 +7,7 @@ const aliases = pathsToModuleNameMapper(compilerOptions.paths, {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
setupFilesAfterEnv: ['<rootDir>/setupTest.ts'],
|
setupFilesAfterEnv: ['<rootDir>/setupTest.ts'],
|
||||||
|
testPathIgnorePatterns: ['/node_modules/', '\\.cy.(js|jsx|ts|tsx)$'],
|
||||||
testEnvironment: 'jsdom',
|
testEnvironment: 'jsdom',
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
|
||||||
modulePathIgnorePatterns: ['<rootDir>/cypress/'],
|
modulePathIgnorePatterns: ['<rootDir>/cypress/'],
|
||||||
|
Loading…
Reference in New Issue
Block a user