Skip to content

Commit

Permalink
chore: fix linting errors on node 12 (#9098)
Browse files Browse the repository at this point in the history
  • Loading branch information
sairus2k authored and SimenB committed Oct 26, 2019
1 parent f7c17a2 commit 3ceacec
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
lint-and-typecheck:
working_directory: ~/jest
docker:
- image: circleci/node:10
- image: circleci/node:12
steps:
- checkout
- restore-cache: *restore-cache
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -42,7 +42,7 @@ _Before_ submitting a pull request, please make sure the following is done…
python --version
```

1. Make sure you have a compatible version of `node` installed (As of July 10th 2019, `v10.x` is recommended since there is a known issue with `v12.x` [#8490](https://github.com/facebook/jest/issues/8490)).
1. Make sure you have a compatible version of `node` installed (As of October 25th 2019, `v12.x` is recommended).

```sh
node -v
Expand Down
2 changes: 0 additions & 2 deletions packages/jest-worker/src/workers/NodeThreadsWorker.ts
Expand Up @@ -7,8 +7,6 @@

import * as path from 'path';
import {PassThrough} from 'stream';
// ESLint doesn't know about this experimental module
// eslint-disable-next-line import/no-unresolved
import {Worker} from 'worker_threads';
import mergeStream = require('merge-stream');

Expand Down
2 changes: 0 additions & 2 deletions packages/jest-worker/src/workers/threadChild.ts
Expand Up @@ -5,8 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

// ESLint doesn't know about this experimental module
// eslint-disable-next-line import/no-unresolved
import {isMainThread, parentPort} from 'worker_threads';

import {
Expand Down

0 comments on commit 3ceacec

Please sign in to comment.