Skip to content

Commit 0ed1587

Browse files
committed
fix: typos + node 6 compat
1 parent cbaddc3 commit 0ed1587

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import * as React from 'react';
102102
//Synthetic default imports:
103103
import React from 'react';
104104
```
105-
ts-jest tries to support that by using TypeScript 2.7+ built-in support for this feature via the `esModuleInterop` option. More details [here](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html)**
105+
ts-jest does that by using TypeScript 2.7+ `esModuleInterop` option. More details [here](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html).
106106

107107
### Supports automatic of jest.mock() calls
108108
[Just like Jest](https://facebook.github.io/jest/docs/manual-mocks.html#using-with-es-module-imports) ts-jest
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const { jestPreset } = require('ts-jest');
22

3-
module.exports = {
4-
...jestPreset,
3+
module.exports = Object.assign({}, jestPreset, {
54
testEnvironment: 'node',
65
globals: { 'ts-jest': { tsConfig: {} } },
7-
};
6+
});

0 commit comments

Comments
 (0)