-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Labels
Description
π Bug Report
On travis I get the following message:
$ npm test
> [email protected] test /home/travis/build/dherault/piano-keys
> jest --coverage
FAIL ./index.test.js
β Test suite failed to run
TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'
at _default (node_modules/jest-util/build/createProcessObject.js:85:34)
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | 0 | 0 | 0 | 0 | |
----------|----------|----------|----------|----------|-------------------|
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.763s
Ran all test suites.
npm ERR! Test failed. See above for more details.
The command "npm test" exited with 1.
To Reproduce
Submit any PR to https://github.com/dherault/piano-keys and open Travis from the PR.
Expected behavior
It should pass all tests on Travis like it does locally.
Link to repl or repo (highly encouraged)
https://github.com/dherault/piano-keys
Run npx envinfo --preset jest
Paste the results here:
System:
OS: Linux 4.4 Ubuntu 14.04.5 LTS, Trusty Tahr
CPU: (2) x64 Intel(R) Xeon(R) CPU @ 2.30GHz
Binaries:
Node: 11.11.0 - ~/.nvm/versions/node/v11.11.0/bin/node
Yarn: 1.3.2 - /usr/local/bin/yarn
npm: 6.7.0 - ~/.nvm/versions/node/v11.11.0/bin/npm
npmPackages:
jest: ^24.1.0 => 24.1.0 sambehrens, incadenza, KSXGitHub, wssgcg1213, MVrachev and 1 more