UNPKG

@leanup/cli-core-test

Version:

This module contains the test feature for the @leanup/cli.

24 lines (23 loc) 677 B
const path = require('path'); module.exports = { include: ['src/**/*.js', 'src/**/*.jsx', 'src/**/*.ts', 'src/**/*.tsx'], exclude: ['**/*.d.ts', '**/*.mock.ts', '**/*.spec.ts', '**/*.test.ts'], all: true, cache: false, reporter: ['html', 'lcov', 'text'], 'report-dir': path.resolve(process.cwd(), '.reports/coverage'), 'temp-dir': path.resolve(process.cwd(), '.reports/nyc'), require: [path.resolve(process.cwd(), 'babel.register.js')], watermarks: { lines: [50, 75], functions: [50, 75], branches: [50, 75], statements: [50, 75], }, sourceMap: false, instrument: true, statements: 50, branches: 50, functions: 50, lines: 50, };