mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2026-03-01 12:44:23 +00:00
* update packages & audit fix * fix typebox * fix jest running esm * fix package update correctly * fix esm jest types * fix lint * exclude tests from build * ffix lintfix lint
21 lines
450 B
JavaScript
21 lines
450 B
JavaScript
import { createDefaultEsmPreset } from 'ts-jest'
|
|
|
|
const presetConfig = createDefaultEsmPreset()
|
|
|
|
/** @type {import('jest').Config} */
|
|
export default {
|
|
...presetConfig,
|
|
testEnvironment: 'node',
|
|
setupFiles: ['./jest/setup.loadEnv.ts'],
|
|
collectCoverage: true,
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
modulePathIgnorePatterns: ['<rootDir>/build/'],
|
|
}
|