Skip to content

Instantly share code, notes, and snippets.

@marten-de-vries
Created May 31, 2014 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marten-de-vries/e67fc8415dbe85bdab41 to your computer and use it in GitHub Desktop.
Save marten-de-vries/e67fc8415dbe85bdab41 to your computer and use it in GitHub Desktop.
pouchdb-mapreduce tests with coverage for the PR #179 code.
marten@marten-laptop:~/git/mapreduce$ npm run test --coverage
> pouchdb-mapreduce@2.2.3 test /home/marten/git/mapreduce
> npm run jshint && ./bin/run-test.sh
> pouchdb-mapreduce@2.2.3 jshint /home/marten/git/mapreduce
> jshint -c .jshintrc *.js test/test.js
> pouchdb-mapreduce@2.2.3 test-node /home/marten/git/mapreduce
> TEST_DB=testdb,http://localhost:5984/testdb istanbul test ./node_modules/mocha/bin/_mocha test/test.js
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․
244 passing (2m)
=============================================================================
Writing coverage object [/home/marten/git/mapreduce/coverage/coverage.json]
Writing coverage reports at [/home/marten/git/mapreduce/coverage]
=============================================================================
=============================== Coverage summary ===============================
Statements : 100% ( 507/507 ), 7 ignored
Branches : 99.57% ( 232/233 ), 6 ignored
Functions : 100% ( 115/115 ), 2 ignored
Lines : 100% ( 506/506 )
================================================================================
marten@marten-laptop:~/git/mapreduce$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment