Skip to content

Commit 5d6b35f

Browse files
authored
fix(config): disable isolatedDeclarations (#4848)
Disable `isolatedDeclarations` for compiler options since Jest doesn't need `d.ts` file so `ts-jest` doesn't need to emit `d.ts` Fixes #4847
1 parent cdd3039 commit 5d6b35f

File tree

3 files changed

+955
-900
lines changed

3 files changed

+955
-900
lines changed

src/legacy/config/__snapshots__/config-set.spec.ts.snap

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and allowSyntheticDefaultImports is false in tsConfig should use correct paths when searching 1`] = `
3+
exports[`config-set _resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and allowSyntheticDefaultImports is false in tsConfig should use correct paths when searching 1`] = `
44
[
55
{
66
"category": 3,
@@ -13,7 +13,7 @@ exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is
1313
]
1414
`;
1515

16-
exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and allowSyntheticDefaultImports is false in tsConfig should use given tsconfig path 1`] = `
16+
exports[`config-set _resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and allowSyntheticDefaultImports is false in tsConfig should use given tsconfig path 1`] = `
1717
[
1818
{
1919
"category": 3,
@@ -26,7 +26,7 @@ exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is
2626
]
2727
`;
2828

29-
exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and esModuleInterop is not in tsConfig should use correct paths when searching 1`] = `
29+
exports[`config-set _resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and esModuleInterop is not in tsConfig should use correct paths when searching 1`] = `
3030
[
3131
{
3232
"category": 3,
@@ -39,7 +39,7 @@ exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is
3939
]
4040
`;
4141

42-
exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and esModuleInterop is not in tsConfig should use given tsconfig path 1`] = `
42+
exports[`config-set _resolveTsConfig resolve configFileName normally module in tsConfig is not the same as forced module and esModuleInterop is not in tsConfig should use given tsconfig path 1`] = `
4343
[
4444
{
4545
"category": 3,
@@ -52,7 +52,7 @@ exports[`_resolveTsConfig resolve configFileName normally module in tsConfig is
5252
]
5353
`;
5454

55-
exports[`customTransformers should return an object containing all resolved transformers 1`] = `
55+
exports[`config-set customTransformers should return an object containing all resolved transformers 1`] = `
5656
{
5757
"after": [],
5858
"afterDeclarations": [],
@@ -66,7 +66,7 @@ exports[`customTransformers should return an object containing all resolved tran
6666
}
6767
`;
6868

69-
exports[`customTransformers should return an object containing all resolved transformers 2`] = `
69+
exports[`config-set customTransformers should return an object containing all resolved transformers 2`] = `
7070
{
7171
"after": [],
7272
"afterDeclarations": [],
@@ -85,7 +85,7 @@ exports[`customTransformers should return an object containing all resolved tran
8585
}
8686
`;
8787

88-
exports[`customTransformers should return an object containing all resolved transformers 3`] = `
88+
exports[`config-set customTransformers should return an object containing all resolved transformers 3`] = `
8989
{
9090
"after": [],
9191
"afterDeclarations": [],
@@ -104,7 +104,7 @@ exports[`customTransformers should return an object containing all resolved tran
104104
}
105105
`;
106106

107-
exports[`customTransformers should return an object containing all resolved transformers 4`] = `
107+
exports[`config-set customTransformers should return an object containing all resolved transformers 4`] = `
108108
{
109109
"after": [
110110
{
@@ -124,7 +124,7 @@ exports[`customTransformers should return an object containing all resolved tran
124124
}
125125
`;
126126

127-
exports[`customTransformers should return an object containing all resolved transformers 5`] = `
127+
exports[`config-set customTransformers should return an object containing all resolved transformers 5`] = `
128128
{
129129
"after": [],
130130
"afterDeclarations": [
@@ -144,7 +144,7 @@ exports[`customTransformers should return an object containing all resolved tran
144144
}
145145
`;
146146

147-
exports[`customTransformers should return an object containing all resolved transformers 6`] = `
147+
exports[`config-set customTransformers should return an object containing all resolved transformers 6`] = `
148148
{
149149
"after": [],
150150
"afterDeclarations": [],
@@ -164,17 +164,17 @@ exports[`customTransformers should return an object containing all resolved tran
164164
}
165165
`;
166166

167-
exports[`customTransformers should show warning log when missing version and name 1`] = `
167+
exports[`config-set customTransformers should show warning log when missing version and name 1`] = `
168168
[
169169
"[level:40] The AST transformer {{file}} must have an \`export const version = <your_transformer_version>",
170170
"[level:40] The AST transformer {{file}} must have an \`export const name = <your_transformer_name>",
171171
]
172172
`;
173173
174-
exports[`isTestFile should return a boolean value whether the file matches test pattern 1`] = `true`;
174+
exports[`config-set isTestFile should return a boolean value whether the file matches test pattern 1`] = `true`;
175175
176-
exports[`isTestFile should return a boolean value whether the file matches test pattern 2`] = `true`;
176+
exports[`config-set isTestFile should return a boolean value whether the file matches test pattern 2`] = `true`;
177177
178-
exports[`isTestFile should return a boolean value whether the file matches test pattern 3`] = `true`;
178+
exports[`config-set isTestFile should return a boolean value whether the file matches test pattern 3`] = `true`;
179179
180-
exports[`isTestFile should return a boolean value whether the file matches test pattern 4`] = `true`;
180+
exports[`config-set isTestFile should return a boolean value whether the file matches test pattern 4`] = `true`;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy