File tree 2 files changed +18
-5
lines changed
2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 7
7
"main" : " index.js" ,
8
8
9
9
"dependencies" : {
10
- "eventemitter2" : " *"
10
+ "eventemitter2" : " *"
11
11
},
12
12
"devDependencies" : {
13
- "mocha" : " *" ,
14
- "expect.js" : " *" ,
15
- "dox" : " *"
13
+ "mocha" : " *" ,
14
+ "expect.js" : " *" ,
15
+ "dox" : " *" ,
16
+ "coveralls" : " *" ,
17
+ "mocha-lcov-reporter" : " *" ,
18
+ "blanket" : " *"
16
19
},
17
20
"scripts" : {
18
- "test" : " mocha -t 20000 -R spec -r expect test/*-test.js"
21
+ "blanket" : { "pattern" : " caronte/lib" },
22
+ "test" : " mocha -R spec test/*-test.js && npm run-script test-cov" ,
23
+ "test-cov" : " mocha --require blanket -R html-cov > cov/coverage.html"
19
24
},
20
25
21
26
"license" : " MIT"
Original file line number Diff line number Diff line change
1
+ var caronte = require ( '../' ) ,
2
+ expect = require ( 'expect.js' ) ;
3
+
4
+ describe ( 'the truthness' , function ( ) {
5
+ it ( 'should be true' , function ( ) {
6
+ expect ( true ) . to . be ( true ) ;
7
+ } )
8
+ } ) ;
You can’t perform that action at this time.
0 commit comments