mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[test] COVERAGE
This commit is contained in:
parent
34f16e7464
commit
004a46c09d
15
package.json
15
package.json
@ -7,15 +7,20 @@
|
|||||||
"main" : "index.js",
|
"main" : "index.js",
|
||||||
|
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"eventemitter2": "*"
|
"eventemitter2" : "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha" : "*",
|
"mocha" : "*",
|
||||||
"expect.js": "*",
|
"expect.js" : "*",
|
||||||
"dox" : "*"
|
"dox" : "*",
|
||||||
|
"coveralls" : "*",
|
||||||
|
"mocha-lcov-reporter": "*",
|
||||||
|
"blanket" : "*"
|
||||||
},
|
},
|
||||||
"scripts" : {
|
"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"
|
"license" : "MIT"
|
||||||
|
|||||||
8
test/truth-test.js
Normal file
8
test/truth-test.js
Normal file
@ -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);
|
||||||
|
})
|
||||||
|
});
|
||||||
Loading…
x
Reference in New Issue
Block a user