Skip to content

Commit f6eeef7

Browse files
authored
Merge pull request #416 from xogeny/patch-1
Clarify warning
2 parents 9eef99a + 21b6f2e commit f6eeef7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Marshall Bowers <elliott.codes@gmail.com>
3535
Martijn The <post@martijnthe.nl>
3636
Matheus Gambati <matheusgambati@gmail.com>
3737
Maxim Samoilov <samoilowmaxim@gmail.com>
38+
Michael Tiller <michael.tiller@xogeny.com>
3839
Mohammad Rajabifard <mo.rajbi@gmail.com>
3940
OJ Kwon <kwon.ohjoong@gmail.com>
4041
Oliver Joseph Ash <oliverjash@gmail.com>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ custom configuration file (relative to the project's root directory)
137137
}
138138
}
139139
```
140-
**Warning: Using \_\_TS_CONFIG__ option in globals is deprecated and soon will be removed.**
140+
**Warning: In the past, a `__TS_CONFIG__` section could be used to provide an inline TypeScript configuration. Going forward, all custom configurations should be in a different file and the `tsConfigFile` key in the `ts-jest` section (under `globals`) should point to this file (as shown above). You can ignore this if the configuration you want is identical to the main `tsconfig.json`.**
141141

142142
For all available `tsc` options see [TypeScript docs](https://www.typescriptlang.org/docs/handbook/compiler-options.html).
143143

0 commit comments

Comments
 (0)