chore: fix lint issues in tests

This commit is contained in:
Roman Hotsiy 2018-08-07 11:33:59 +03:00
parent 90ed717bb5
commit 9e69eedea0
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -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');
});
});