RationalJS/future

Docs need updating: `yarn test` fails

Opened this issue · 3 comments

donviszneki@Dons-MacBook-Pro ~/future$ git show --summary
commit 600e9803219a08b5c56a14313c34795c3da60b2c (HEAD -> upstream-master, upstream/master, upstream/HEAD)
Author: Nathan Sculli <scull7@gmail.com>
Date:   Sun Jun 10 14:32:48 2018 -0700
    don't run coverage rports on the tests themselves
donviszneki@Dons-MacBook-Pro ~/future$ yarn test
yarn run v1.7.0
$ yarn clean ; yarn build ; istanbul cover --print both ospec
$ bsb -clean-world
Cleaning... 25 files.
$ bsb -make-world
[2/2] Building src/BsOspec.mlast.d
[1/1] Building src/BsOspec.cmj
ninja: Entering directory `lib/bs'
[10/10] Building tests/TestFuture.mlast.d
[5/5] Building tests/TestFutureJs.cmj
42 assertions completed in 68ms, of which 0 failed
=============================================================================
Writing coverage object [/Users/donviszneki/future/coverage/coverage.json]
Writing coverage reports at [/Users/donviszneki/future/coverage]
=============================================================================
-----------------|----------|----------|----------|----------|----------------|
File             |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
-----------------|----------|----------|----------|----------|----------------|
 src/            |    98.96 |    92.86 |      100 |    98.96 |                |
  Future.bs.js   |    98.85 |    92.86 |      100 |    98.85 |             15 |
  FutureJs.bs.js |      100 |      100 |      100 |      100 |                |
-----------------|----------|----------|----------|----------|----------------|
All files        |    98.96 |    92.86 |      100 |    98.96 |                |
-----------------|----------|----------|----------|----------|----------------|
=============================== Coverage summary ===============================
Statements   : 98.96% ( 95/96 )
Branches     : 92.86% ( 13/14 )
Functions    : 100% ( 32/32 )
Lines        : 98.96% ( 95/96 )
================================================================================
$ npm run coverage:report
> reason-future@2.2.1 coverage:report /Users/donviszneki/future
> nyc --reporter=text-lcov ospec | coveralls
/Users/donviszneki/future/node_modules/coveralls/bin/coveralls.js:18
        throw err;
        ^
Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reason-future@2.2.1 coverage:report: `nyc --reporter=text-lcov ospec | coveralls`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reason-future@2.2.1 coverage:report script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/donviszneki/.npm/_logs/2018-06-15T10_27_59_634Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Try running yarn test:only

(the docs need to be updated on this)