Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created January 30, 2020 12:55
Show Gist options
  • Save bobsilverberg/7e9f4522c4ebc5eb2a828448548b8ed7 to your computer and use it in GitHub Desktop.
Save bobsilverberg/7e9f4522c4ebc5eb2a828448548b8ed7 to your computer and use it in GitHub Desktop.
FAIL tests/unit/amo/components/TestInstallWarning.js
FAIL tests/unit/amo/components/TestInstallWarning.js
● Test suite failed to run
TypeError: getConsoleOutput is not a function
21 | // prettier-ignore
22 | this.log(
> 23 | ` ${TITLE_BULLET}Console\n\n${getConsoleOutput(
| ^
24 | config.cwd,
25 | !!this._globalConfig.verbose,
26 | consoleBuffer
at FingersCrossedReporter.printTestFileHeader (tests/jest-reporters/fingers-crossed.js:23:40)
at FingersCrossedReporter.onTestResult (node_modules/@jest/reporters/build/default_reporter.js:200:12)
at ReporterDispatcher.onTestResult (node_modules/@jest/core/build/ReporterDispatcher.js:48:25)
at onResult (node_modules/@jest/core/build/TestScheduler.js:193:30)
Test Suites: 2 failed, 2 of 1 total
Tests: 8 failed, 16 passed, 24 total
Snapshots: 0 total
Time: 3.641s
Ran all test suites matching /installw/i.
Flow: no errors 🌈 ✨
Eslint: no errors 💄 ✨
Watch Usage: Press w to show more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment