Skip to content
Snippets Groups Projects
Unverified Commit 867f4724 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

test: remove test files from coverage (#22761)

parent cbc54d6c
No related merge requests found
......@@ -2,11 +2,11 @@ import crypto from 'node:crypto';
import os from 'node:os';
import v8 from 'node:v8';
import { minimatch } from 'minimatch';
import type { InitialOptionsTsJest } from 'ts-jest';
import type { JestConfigWithTsJest } from 'ts-jest';
const ci = !!process.env.CI;
type JestConfig = InitialOptionsTsJest & {
type JestConfig = JestConfigWithTsJest & {
// https://github.com/renovatebot/renovate/issues/17034
workerIdleMemoryLimit?: string;
};
......@@ -340,6 +340,11 @@ const config: JestConfig = {
},
coverageDirectory: './coverage',
}),
coveragePathIgnorePatterns: [
'/node_modules/',
'<rootDir>/test/',
'<rootDir>/tools/',
],
cacheDirectory: '.cache/jest',
clearMocks: true,
collectCoverage: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment