Skip to content

Instantly share code, notes, and snippets.

@ksato9700
Created February 10, 2019 00:57
Show Gist options
  • Save ksato9700/86071b00242cb39c537dc916e030400c to your computer and use it in GitHub Desktop.
Save ksato9700/86071b00242cb39c537dc916e030400c to your computer and use it in GitHub Desktop.
schema-utils test error log
$ yarn run test
yarn run v1.13.0
$ jest --env node --verbose --coverage
FAIL test/index.test.js
● Test suite failed to run
custom keyword definition is invalid: data/errors should be boolean
at Ajv.addKeyword (node_modules/ajv/lib/keyword.js:65:13)
at Object.<anonymous>.module.exports (node_modules/ajv-errors/index.js:10:7)
at Object.<anonymous> (src/validateOptions.js:22:1)
at Object.<anonymous> (src/index.js:7:74)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 2.637s
Ran all test suites.
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | Unknown | Unknown | Unknown | Unknown | |
----------|----------|----------|----------|----------|-------------------|
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment