Skip to content

Commit

Permalink
chore: fix lint issues in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Aug 7, 2018
1 parent 90ed717 commit 9e69eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/__tests__/models/Response.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ describe('Models', () => {
});

test('default should be sucessful by default', () => {
let resp = new ResponseModel(parser, 'default', false, {}, opts);
const resp = new ResponseModel(parser, 'default', false, {}, opts);
expect(resp.type).toEqual('success');
});

test('default should be error if defaultAsError is true', () => {
let resp = new ResponseModel(parser, 'default', true, {}, opts);
const resp = new ResponseModel(parser, 'default', true, {}, opts);
expect(resp.type).toEqual('error');
});
});
Expand Down

0 comments on commit 9e69eed

Please sign in to comment.