File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' react-native-owl ' : minor
3+ ---
4+
5+ Switch Jest config to CLI options for Jext 28+ support
Original file line number Diff line number Diff line change @@ -36,12 +36,24 @@ Below you can find an example config (can also be found in the [example app](htt
3636}
3737```
3838
39- You'll also need to add the ` ts-jest ` preset to your Jest config if you plan to
39+ #### ts-jest
40+
41+ You'll also need to add the [ ` ts-jest ` preset] ( https://huafu.github.io/ts-jest/user/config/ ) to your Jest config if you plan to
4042write your tests in Typescript:
4143
4244``` bash npm2yarn
4345npm install --save-dev ts-jest
44- ts-jest config:init
46+ ```
47+
48+ Then update your Jest config to use the ` ts-jest ` preset:
49+ ``` json title="jest.config.js"
50+ "preset" : " ts-jest"
51+ ```
52+ or
53+ ``` json title="package.json"
54+ "jest" : {
55+ "preset" : " ts-jest"
56+ }
4557```
4658
4759### Add tests
You can’t perform that action at this time.
0 commit comments