You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(config): refactor ConfigSet class (#2050)
- Convert most of getters to private fields
- Optimize logic of mapping user config to internal config
- Expose a few getters as public apis
- Rename interface `TsJestConfig$diagnostics` to `TsJestDiagnosticsCfg`
- Change `CachedConfigSet` to cache transformerConfig string instead of object type
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
133
140
PASS ./Hello.spec.ts
134
141
Hello Class
135
142
√ should create a new Hello
@@ -142,12 +149,13 @@ exports[`ts-jest logging deprecation warning with astTransformers config as an o
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
151
159
PASS ./Hello.spec.ts
152
160
Hello Class
153
161
√ should create a new Hello
@@ -160,12 +168,13 @@ exports[`ts-jest logging deprecation warning with astTransformers config as an o
exports[`ts-jest logging deprecation warning with astTransformers config as an object should pass using template "with-babel-7-string-config" 1`] = `
171
+
exports[`ts-jest logging deprecation warning with astTransformers config as string array should pass using template "with-babel-7-string-config" 1`] = `
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
169
178
PASS ./Hello.spec.ts
170
179
Hello Class
171
180
√ should create a new Hello
@@ -178,13 +187,13 @@ exports[`ts-jest logging deprecation warning with astTransformers config as an o
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
196
+
ts-jest[config] (WARN) The option \`packageJson\` is deprecated and will be removed in ts-jest 27. This option is not used by internal \`ts-jest\`
188
197
PASS ./Hello.spec.ts
189
198
Hello Class
190
199
√ should create a new Hello
@@ -197,13 +206,13 @@ exports[`ts-jest logging deprecation warning with astTransformers config as stri
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
215
+
ts-jest[config] (WARN) The option \`packageJson\` is deprecated and will be removed in ts-jest 27. This option is not used by internal \`ts-jest\`
207
216
PASS ./Hello.spec.ts
208
217
Hello Class
209
218
√ should create a new Hello
@@ -216,13 +225,70 @@ exports[`ts-jest logging deprecation warning with astTransformers config as stri
exports[`ts-jest logging deprecation warning with astTransformers config as string array should pass using template "with-babel-7-string-config" 1`] = `
228
+
exports[`ts-jest logging deprecation warning with packageJson config should pass using template "with-babel-7-string-config" 1`] = `
ts-jest[config] (WARN) The configuration for astTransformers as string[] is deprecated and will be removed in ts-jest 27. Please define your custom AST transformers in a form of an object. More information you can check online documentation https://kulshekhar.github.io/ts-jest/user/config/astTransformers
234
+
ts-jest[config] (WARN) The option \`packageJson\` is deprecated and will be removed in ts-jest 27. This option is not used by internal \`ts-jest\`
0 commit comments