File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
templates/app/client/app/main Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ describe('Component: MainComponent', function() {
48
48
49
49
it('should attach a list of things to the controller', () => {
50
50
// `GET /api/things` should be made once
51
- const req = httpTestingController . expectOne ( '/api/things' ) ;
52
- < % if ( filters . jasmine ) { % > expect ( req . request . method ) . toEqual ( 'GET' ) ; < % } else if(filters.mocha) { % >
51
+ const req = httpTestingController . expectOne ( '/api/things' ) ; < % if ( filters . jasmine ) { % >
52
+ expect ( req . request . method ) . toEqual ( 'GET' ) ; < % } else if(filters.mocha) { % >
53
53
< %= expect ( ) % > req . request . method < %= to ( ) % > . equal ( 'GET' ) ; < % } %>
54
54
55
55
// Respond with mock data
@@ -58,7 +58,7 @@ describe('Component: MainComponent', function() {
58
58
// assert that there are no outstanding requests
59
59
httpTestingController . verify ( ) ;
60
60
61
- < % if ( filters . jasmine ) { % > expect(comp.awesomeThings).toEqual(mockThings);< % } else if ( filters . mocha ) { % >
61
+ < % _ if ( filters . jasmine ) { - % > expect(comp.awesomeThings).toEqual(mockThings);< % _ } else if ( filters . mocha ) { - % >
62
62
< %= expect ( ) % > comp.awesomeThings< %= to ( ) % > .equal(mockThings);< % } % >
63
63
} ) ;
64
64
} ) ;
You can’t perform that action at this time.
0 commit comments