Skip to content

Commit

Permalink
docs(devs-infra): add note when using TypeScript Jest config file (#2798
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ahnpnl committed Aug 3, 2021
1 parent aaab61a commit 5d6e514
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/docs/getting-started/options.md
Expand Up @@ -70,6 +70,13 @@ const config: InitialOptionsTsJest = {
export default config
```

:::important

When using TypeScript Jest config file, Jest will use `ts-node` to compile the config file. `ts-jest` doesn't take part in
that process.

:::

### Options

All options have default values which should fit most of the projects. Click on the option's name to see details and example(s).
Expand Down
Expand Up @@ -70,6 +70,13 @@ const config: InitialOptionsTsJest = {
export default config
```

:::important

When using TypeScript Jest config file, Jest will use `ts-node` to compile the config file. `ts-jest` doesn't take part in
that process.

:::

### Options

All options have default values which should fit most of the projects. Click on the option's name to see details and example(s).
Expand Down

0 comments on commit 5d6e514

Please sign in to comment.