Skip to content

Commit

Permalink
docs: correct ts config example (#2750)
Browse files Browse the repository at this point in the history
* docs: correct ts config example

* docs(getting-started): correct ts config example
  • Loading branch information
johngeorgewright committed Jul 16, 2021
1 parent 4253c2c commit 6380ec4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions website/docs/getting-started/options.md
Expand Up @@ -61,8 +61,10 @@ Or through TypeScript (if `ts-node` is installed):
import type { InitialOptionsTsJest } from 'ts-jest/dist/types'

const config: InitialOptionsTsJests = {
'ts-jest': {
// ts-jest configuration goes here
globals: {
'ts-jest': {
// ts-jest configuration goes here
},
},
}
export default config
Expand Down
Expand Up @@ -61,8 +61,10 @@ Or through TypeScript (if `ts-node` is installed):
import type { InitialOptionsTsJest } from 'ts-jest/dist/types'

const config: InitialOptionsTsJests = {
'ts-jest': {
// ts-jest configuration goes here
globals: {
'ts-jest': {
// ts-jest configuration goes here
},
},
}
export default config
Expand Down

0 comments on commit 6380ec4

Please sign in to comment.