/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.7.0
shared/jest.config.js
25 строк
894 B
Jakob Weisblat
fix mocks in native storybook (#22748)
06 мар 2020, 00:31
Не верифицирован
06 мар 2020, 00:31
943fa01
Код
Авторство
О чём код?
/* eslint-disable */ module.exports = { coverageDirectory: './coverage', modulePaths: ['<rootDir>/desktop/node_modules'], modulePathIgnorePatterns: ['<rootDir>/.tsOut'], transformIgnorePatterns: [ 'node_modules/(?!universalify|fs-extra|react-redux|react-gateway|@storybook|@react-navigation)', ], setupFiles: ['<rootDir>/test/setupFiles.js'], setupFilesAfterEnv: ['<rootDir>/test/setupTestFrameworkScriptFile.js'], testPathIgnorePatterns: ['/node_modules/', '<rootDir>/.tsOut/'], snapshotSerializers: ['jest-emotion'], timers: 'fake', testEnvironment: 'jsdom', moduleNameMapper: require('./mocks').jestReplacements, moduleFileExtensions: ['js', 'json', 'ts', 'tsx', 'jsx', 'node', 'desktop.js', 'desktop.tsx'], transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest', }, globals: { __DEV__: true, __STORYBOOK__: true, __STORYSHOT__: true, }, }