haroldtreen/epub-press

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = {
    testEnvironment: 'node',
    testMatch: ['**/tests/**/*-test.js'],
    globalSetup: '<rootDir>/tests/globalSetup.js',
    globalTeardown: '<rootDir>/tests/globalTeardown.js',
    collectCoverageFrom: [
        '**/*.{js,jsx}',
        '!**/coverage/**',
        '!**/node_modules/**',
        '!*.config.js',
        '!**/scripts/*.js',
        '!**/migrations/*.js',
        '!**/seeders/*.js',
        '!**/tests/*.js',
    ],
};