File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ module.exports = function (grunt) {
2020 '**/*.js' ,
2121 '!node_modules/**'
2222 ]
23+ } ,
24+ mochaTest : {
25+ options : {
26+ reporter : 'list'
27+ } ,
28+ src : [
29+ 'test/*.js'
30+ ]
2331 }
2432 } ) ;
2533
Original file line number Diff line number Diff line change 3737 "grunt-cli" : " ~0.1.13" ,
3838 "grunt-contrib-jshint" : " ~0.10.0" ,
3939 "grunt-jscs" : " ~0.8.1" ,
40+ "grunt-mocha-test" : " ~0.12.2" ,
4041 "load-grunt-tasks" : " ~1.0.0"
4142 },
4243 "peerDependencies" : {
Original file line number Diff line number Diff line change 1+ var expect = require ( 'expect.js' ) ,
2+ abeExpress = require ( '../libs/abe-express.js' ) ;
3+
4+ describe ( 'ABE Express response test helper' , function ( ) {
5+ it ( 'Should be able to test the headers or body' , function ( ) {
6+ expect ( abeExpress . full ) . to . be . a ( 'function' ) ;
7+ expect ( abeExpress . header ) . to . be . a ( 'function' ) ;
8+ } ) ;
9+ } ) ;
You can’t perform that action at this time.
0 commit comments