Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testing utils & cache digest & docs related to presets #787

Merged
merged 9 commits into from
Oct 6, 2018
Prev Previous commit
Next Next commit
docs(utils): updates docs related to moved helpers
  • Loading branch information
huafu committed Oct 6, 2018
commit ec78757be641185857b007c1fdfd9190e2253cf7
2 changes: 1 addition & 1 deletion docs/user/config/index.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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