feat(test): CB-2288 jest config pass with no tests

This commit is contained in:
Wroud
2022-07-13 02:58:44 +03:00
parent 30964b6576
commit 4e5cd4503b
@@ -8,6 +8,7 @@ module.exports = {
// collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/types.ts'],
// coverageReporters: ['json'],
// restoreMocks: true,
passWithNoTests: true,
testEnvironment: 'jsdom',
setupFiles: ['../tests/setup.ts'],
transform: {"\\.[jt]sx?$": ['babel-jest', { configFile: require.resolve('./babel.config.js') }]}