Skip to content

Commit ffe2352

Browse files
authored
chore: move @jest/test-utils reference (#13468)
1 parent 48ddbf4 commit ffe2352

File tree

41 files changed

+108
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+108
-62
lines changed

e2e/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"compilerOptions": {
44
"rootDir": "./"
55
},
6-
"include": ["./**/*"]
6+
"include": ["./**/*"],
7+
"references": [{"path": "../packages/test-utils"}]
78
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../../../tsconfig.test.json",
33
"include": ["./**/*"],
4-
"references": [{"path": "../../"}]
4+
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
55
}

packages/babel-jest/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"include": ["./src/**/*"],
88
"exclude": ["./**/__tests__/**/*"],
99
// TODO: include `babel-preset-jest` if it's ever in TS even though we don't care about its types
10-
"references": [{"path": "../jest-transform"}, {"path": "../test-utils"}]
10+
"references": [{"path": "../jest-transform"}]
1111
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../../../tsconfig.test.json",
33
"include": ["./**/*"],
4-
"references": [{"path": "../../"}]
4+
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
55
}

packages/expect/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
{"path": "../jest-get-type"},
1313
{"path": "../jest-matcher-utils"},
1414
{"path": "../jest-message-util"},
15-
{"path": "../jest-util"},
16-
{"path": "../test-utils"}
15+
{"path": "../jest-util"}
1716
]
1817
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../../../tsconfig.test.json",
33
"include": ["./**/*"],
4-
"references": [{"path": "../../"}]
4+
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
55
}

packages/jest-console/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"references": [
1010
{"path": "../jest-message-util"},
1111
{"path": "../jest-types"},
12-
{"path": "../jest-util"},
13-
{"path": "../test-utils"}
12+
{"path": "../jest-util"}
1413
]
1514
}
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"extends": "../../../../tsconfig.test.json",
3-
"compilerOptions": {
4-
"rootDir": "../"
5-
},
6-
"include": ["../**/*"]
3+
"include": ["./**/*"],
4+
"references": [{"path": "../../"}, {"path": "../../../test-utils"}]
75
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../../../../tsconfig.test.json",
33
"include": ["./**/*"],
4-
"references": [{"path": "../../../"}]
4+
"references": [{"path": "../../../"}, {"path": "../../../../test-utils"}]
55
}

packages/jest-core/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
{"path": "../jest-util"},
2727
{"path": "../jest-validate"},
2828
{"path": "../jest-watcher"},
29-
{"path": "../pretty-format"},
30-
{"path": "../test-utils"}
29+
{"path": "../pretty-format"}
3130
]
3231
}

0 commit comments

Comments
 (0)