Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs need updating: yarn test fails #17

Open
dvisztempacct opened this issue Jun 15, 2018 · 3 comments
Open

Docs need updating: yarn test fails #17

dvisztempacct opened this issue Jun 15, 2018 · 3 comments

Comments

@dvisztempacct
Copy link
Contributor

donviszneki@Dons-MacBook-Pro ~/future$ git show --summary
commit 600e9803219a08b5c56a14313c34795c3da60b2c (HEAD -> upstream-master, upstream/master, upstream/HEAD)
Author: Nathan Sculli <[email protected]>
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
> [email protected] 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! [email protected] coverage:report: `nyc --reporter=text-lcov ospec | coveralls`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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.
@gilbert
Copy link
Member

gilbert commented Jun 15, 2018

Try running yarn test:only

@gilbert
Copy link
Member

gilbert commented Jun 15, 2018

(the docs need to be updated on this)

@dvisztempacct
Copy link
Contributor Author

dvisztempacct commented Jun 15, 2018 via email

@dvisztempacct dvisztempacct changed the title yarn test fails Docs need updating: yarn test fails Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants