Skip to content

Commit f3fce6c

Browse files
committed
fix lint
1 parent f174370 commit f3fce6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/app/client/app/main/main.component.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ describe('Component: MainComponent', function() {
4848

4949
it('should attach a list of things to the controller', () => {
5050
// `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) { %>
5353
<%= expect() %>req.request.method<%= to() %>.equal('GET');<% } %>
5454

5555
// Respond with mock data
@@ -58,7 +58,7 @@ describe('Component: MainComponent', function() {
5858
// assert that there are no outstanding requests
5959
httpTestingController.verify();
6060

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) { -%>
6262
<%= expect() %>comp.awesomeThings<%= to() %>.equal(mockThings);<% } %>
6363
});
6464
});

0 commit comments

Comments
 (0)