mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
chore: fix lint issues in tests
This commit is contained in:
parent
90ed717bb5
commit
9e69eedea0
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user