Skip to content

Commit

Permalink
[test] COVERAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Aug 3, 2013
1 parent 34f16e7 commit 004a46c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@
"main" : "index.js",

"dependencies" : {
"eventemitter2": "*"
"eventemitter2" : "*"
},
"devDependencies": {
"mocha" : "*",
"expect.js": "*",
"dox" : "*"
"mocha" : "*",
"expect.js" : "*",
"dox" : "*",
"coveralls" : "*",
"mocha-lcov-reporter": "*",
"blanket" : "*"
},
"scripts" : {
"test" : "mocha -t 20000 -R spec -r expect test/*-test.js"
"blanket" : { "pattern": "caronte/lib" },
"test" : "mocha -R spec test/*-test.js && npm run-script test-cov",
"test-cov" : "mocha --require blanket -R html-cov > cov/coverage.html"
},

"license" : "MIT"
Expand Down
8 changes: 8 additions & 0 deletions test/truth-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
var caronte = require('../'),
expect = require('expect.js');

describe('the truthness', function() {
it('should be true', function() {
expect(true).to.be(true);
})
});

0 comments on commit 004a46c

Please sign in to comment.