IT4C.dev/backend/jest.config.mjs
Ulf Gebhardt 8b6064bd59
fix(backend): fix typebox package & update packages (#638)
* 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
2026-02-09 12:28:29 +01:00

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/'],
}