@@ -43,26 +43,48 @@ describe('The Angularity build task', function () {
4343 }
4444 } ) ;
4545
46- describe ( 'should operate minified (by default)' , function ( done ) {
47- helper . runner . create ( )
48- . addSource ( 'angularity-todo-es5' )
49- . addParameters ( { subdir : 'app-minified' } )
50- . addInvocation ( 'build' )
51- . addInvocation ( 'build --unminified false' )
52- . addInvocation ( 'build -u false' )
53- . forEach ( slowIt ( buildTask . expectations ) )
54- . finally ( done ) ;
46+ describe ( 'full test with small application' , function ( ) {
47+ describe ( 'should operate minified (by default)' , function ( done ) {
48+ helper . runner . create ( )
49+ . addSource ( 'angularity-helloworld-es5' )
50+ . addParameters ( { subdir : 'app-minified' } )
51+ . addInvocation ( 'build' )
52+ . addInvocation ( 'build --unminified false' )
53+ . addInvocation ( 'build -u false' )
54+ . forEach ( slowIt ( buildTask . expectations ) )
55+ . finally ( done ) ;
56+ } ) ;
57+
58+ describe ( 'should operate unminified' , function ( done ) {
59+ helper . runner . create ( )
60+ . addSource ( 'angularity-helloworld-es5' )
61+ . addParameters ( { subdir : 'app-unminified' } )
62+ . addInvocation ( 'build --unminified' )
63+ . addInvocation ( 'build -u' )
64+ . addInvocation ( 'build --unminified true' )
65+ . addInvocation ( 'build -u true' )
66+ . forEach ( slowIt ( buildTask . expectations ) )
67+ . finally ( done ) ;
68+ } ) ;
5569 } ) ;
5670
57- describe ( 'should operate unminified' , function ( done ) {
58- helper . runner . create ( )
59- . addSource ( 'angularity-todo-es5' )
60- . addParameters ( { subdir : 'app-unminified' } )
61- . addInvocation ( 'build --unminified' )
62- . addInvocation ( 'build -u' )
63- . addInvocation ( 'build --unminified true' )
64- . addInvocation ( 'build -u true' )
65- . forEach ( slowIt ( buildTask . expectations ) )
66- . finally ( done ) ;
71+ describe ( 'smoke test with larger application' , function ( ) {
72+ describe ( 'should operate minified (by default)' , function ( done ) {
73+ helper . runner . create ( )
74+ . addSource ( 'angularity-todo-es5' )
75+ . addParameters ( { subdir : 'app-minified' } )
76+ . addInvocation ( 'build' )
77+ . forEach ( slowIt ( buildTask . expectations ) )
78+ . finally ( done ) ;
79+ } ) ;
80+
81+ describe ( 'should operate unminified' , function ( done ) {
82+ helper . runner . create ( )
83+ . addSource ( 'angularity-todo-es5' )
84+ . addParameters ( { subdir : 'app-unminified' } )
85+ . addInvocation ( 'build -u' )
86+ . forEach ( slowIt ( buildTask . expectations ) )
87+ . finally ( done ) ;
88+ } ) ;
6789 } ) ;
6890} ) ;
0 commit comments