I've updated jest to the latest version because of the bug with NodeJS version 11.11.0. All tests do success but it prompts the following message:
"Jest did not exit one second after the test run has completed"
Steps to reproduce the behavior:
Tests should work as before.
https://github.com/ethereum/web3.js
System:
OS: macOS 10.14.3
Binaries:
Node: 11.11.0 - ~/.nvm/versions/node/v11.11.0/bin/node
Yarn: 1.12.1 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v11.11.0/bin/npm
npmPackages:
jest: ^24.4.0 => 24.4.0
The issue is tied to node-notifier bug in 5.4 version :- https://github.com/mikaelbr/node-notifier/pull/271
There is already a jest bug similar to it - https://github.com/facebook/jest/issues/7890
Duplicate of #8036
@SimenB thanks to this issue lol it wasted my whole day later to realise notify:true on jest config was culprit lol :(
@shirshak55 Thanks for this. I thought I was going nuts. I had done every cleanup possible.
Most helpful comment
@SimenB thanks to this issue lol it wasted my whole day later to realise notify:true on jest config was culprit lol :(