File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 desc ( "Test everything" ) ;
2323 task ( "test" , [ ] , function ( ) {
2424 var reporter = require ( "nodeunit" ) . reporters [ "default" ] ;
25- reporter . run ( [ 'src/server/_server_test.js' ] ) ;
26- } ) ;
25+ reporter . run ( [ 'src/server/_server_test.js' ] , null , function ( failures ) {
26+ if ( failures ) fail ( "Tests failed" ) ;
27+ complete ( ) ;
28+ } ) ;
29+ } , { async : true } ) ;
2730
2831 desc ( "Integrate" ) ;
2932 task ( "integrate" , [ "default" ] , function ( ) {
Original file line number Diff line number Diff line change 22"use strict" ;
33
44exports . number = function ( ) {
5- return 0 ;
5+ return 3 ;
66} ;
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ Engineering Tasks:
1818- client-side testing
1919
2020To Do on current task:
21-
21+ - make lint fail when tests fail
2222
2323Future ideas:
2424- Abstract test framework? (Swap out a different framework to make sure abstraction works)
25- - Add LICENSE.TXT
You can’t perform that action at this time.
0 commit comments