mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
# Summary Due to the large number of example apps in the repository, I decided to change the structure and move all applications into an "apps" folder to maintain a clear structure.
25 lines
545 B
TypeScript
25 lines
545 B
TypeScript
import { Config } from '@jest/types';
|
|
|
|
const config: Config.InitialOptions = {
|
|
testPathIgnorePatterns: ['/node_modules/', '/apps/'],
|
|
preset: 'react-native',
|
|
verbose: true,
|
|
globalSetup: '<rootDir>/e2e/setupJest.ts',
|
|
globalTeardown: '<rootDir>/e2e/teardownJest.ts',
|
|
modulePathIgnorePatterns: [
|
|
'lib/typescript',
|
|
'helpers.ts|globals.d.ts|setupJest.ts|teardownJest.ts',
|
|
],
|
|
reporters: [
|
|
'default',
|
|
[
|
|
'jest-html-reporters',
|
|
{
|
|
filename: 'report.html',
|
|
},
|
|
],
|
|
],
|
|
};
|
|
|
|
export default config;
|