Skip to content

Commit

Permalink
docs(utils): updates docs related to moved helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
huafu committed Oct 6, 2018
1 parent 8d5a60a commit ec78757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user/config/index.md
Expand Up @@ -133,7 +133,7 @@ module.exports = {

```js
// jest.config.js
const { pathsToModuleNameMapper } = require('ts-jest');
const { pathsToModuleNameMapper } = require('ts-jest/utils');
// In the following statement, replace `./tsconfig` with the path to your `tsconfig` file
// which contains the path mapping (ie the `compilerOptions.paths` option):
const { compilerOptions } = require('./tsconfig');
Expand Down
2 changes: 1 addition & 1 deletion docs/user/test-helpers.md
Expand Up @@ -27,7 +27,7 @@ export const foo = {

```ts
// foo.spec.ts
import { mocked } from 'ts-jest'
import { mocked } from 'ts-jest/utils'
import { foo } from './foo'
jest.mock('./foo')

Expand Down

0 comments on commit ec78757

Please sign in to comment.