Skip to content

Commit 2a2c767

Browse files
committed
Fix jest slash coverage config
1 parent b14497b commit 2a2c767

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jest.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import type { Config } from "@jest/types";
22
const config: Config.InitialOptions = {
3-
collectCoverageFrom: ["lib\\__fixtures__", "!lib\\__fixtures__"],
3+
collectCoverageFrom: [
4+
"<rootDir>/lib/**/*",
5+
"!<rootDir>/lib/__fixtures__/**/*",
6+
],
47
globals: {
58
"ts-jest": {
69
tsconfig: "tsconfig.test.json",

0 commit comments

Comments
 (0)