boonya/react-hook-form-validation

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
    preset: 'ts-jest',
    testEnvironment: 'node',
    roots: [
        'src',
        'tests'
    ],
    coverageDirectory: 'coverage',
    coverageReporters: ['text-summary', 'html', 'lcov'],
    resetMocks: true,
    globals: {
        'ts-jest': {
            isolatedModules: true,
        },
    },
    'collectCoverageFrom' : [
        'src/**/*.ts'
    ]
};