gaearon / gaearon/react-hot-loader

Version 4.8.5 introduces a new console error on every file unit tested with jest

Open
#1,252 31 comments 6 reactions 1 assignee Claimed by @theKashey View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
775
PR merge metrics
No merged PRs in 30d

Description

### Description

Whereas before, my unit test suite would pass without errors or warnings, simply by upgrading my version from 4.8.4 to 4.8.5, I get the following console error on every file:

![image](https://user-images.githubusercontent.com/36645390/57922470-c1e64800-7897-11e9-84ec-7e1e5bcc5cb4.png)

### Expected behavior
No error as with version 4.8.4, since I haven't touched any files, other thank package.json.

### Actual behavior
![image](https://user-images.githubusercontent.com/36645390/57922494-d75b7200-7897-11e9-8f4b-c5c1b75e51c1.png)

### Environment

React Hot Loader version: 4.8.5

Run these commands in the project folder and fill in their results:

1. `node -v`: 11.1.0
2. `npm -v`: 6.9.0

Then, specify:

1. Operating system: Osx
2. Browser and version: Chrome, 74

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.