-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
https://travis-ci.org/grommet/grommet/builds/156392643#L1757
In my recent build for Grommet using Jest (:yay) I noticed the following console error:
ERROR: TypeError: config.coverageReporters.includes is not a function
STACK: TypeError: config.coverageReporters.includes is not a function
at CoverageReporter.onRunComplete (/home/travis/build/grommet/grommet/node_modules/jest-cli/build/reporters/CoverageReporter.js:70:33)
at /home/travis/build/grommet/grommet/node_modules/jest-cli/build/TestRunner.js:441:14
at Array.forEach (native)
at ReporterDispatcher.onRunComplete (/home/travis/build/grommet/grommet/node_modules/jest-cli/build/TestRunner.js:440:21)
at /home/travis/build/grommet/grommet/node_modules/jest-cli/build/TestRunner.js:220:33
at process._tickCallback (internal/process/next_tick.js:103:7)
Maybe we can replace includes by indexOf to avoid compatibility issues?
If you guys agree I can send a PR for that, otherwise what would be the recommended fix for this?
On a side note, I've noticed that my tests are taking a significantly longer time to execute in Travis when comparing to my local system. Is that expected?
This travis job is configured to use Node 5 and Jest test branch.
Metadata
Metadata
Assignees
Labels
No labels