Skip to content

Commit a4bbdcd

Browse files
committed
docs(preset): typos
1 parent ddc2f79 commit a4bbdcd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/user/config/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ The later is preferred since it's more customizable, but it depends on your need
88

99
### The 3 presets
1010

11-
`ts-jest` comes with 3 presets, allowing to cover most of project's base configuration:
11+
`ts-jest` comes with 3 presets, covering most of project's base configuration:
1212

1313
| Preset name | Description |
1414
|---|---|
1515
| `ts-jest/presets/default`<br>or `ts-jest` | `ts-jest` will take care of `.ts` and `.tsx` files only, leaving JavaScript files as-is. |
16-
| `ts-jest/presets/js-with-ts` | TypeScript and JavaScript file (`.ts`, `.tsx`, `.js` and `.jsx`) will be handled by `ts-jest` (and so TypeScript).<br>You'll need to set `allowJs` to `true` in your `tsconfig.json` file. |
16+
| `ts-jest/presets/js-with-ts` | TypeScript and JavaScript file (`.ts`, `.tsx`, `.js` and `.jsx`) will be handled by `ts-jest`.<br>You'll need to set `allowJs` to `true` in your `tsconfig.json` file. |
1717
| `ts-jest/presets/js-with-babel` | TypeScript files will be handled by `ts-jest`, and JavaScript files will be handled by `babel-jest`. |
1818

1919
### Basic usage
@@ -48,12 +48,12 @@ module.exports = {
4848

4949
</div></div>
5050

51-
**Note:** presets are using `testMatch`, as Jest's does in its defaults. If you want to use `testRegex` instead in your configuration, you MUST set `testMatch` to `null` or Jest will bail.
51+
**Note:** presets use `testMatch`, like Jest does in its defaults. If you want to use `testRegex` instead in your configuration, you MUST set `testMatch` to `null` or Jest will bail.
5252

5353
### Advanced
5454

5555
Any preset can also be used with other options.
56-
If you're already using another preset, you might want only some specific settings from the `ts-jest` chosen preset.
56+
If you're already using another preset, you might want only some specific settings from the chosen `ts-jest` preset.
5757
In this case you'll need to use the JavaScript version of Jest config:
5858

5959
```js

0 commit comments

Comments
 (0)