Fix linter errors in tests

This commit is contained in:
Oleksiy Kachynskyy 2020-03-26 15:42:56 +02:00
parent 71c061f213
commit ebdb34a6f4

View File

@ -6,9 +6,9 @@ const opts = new RedocNormalizedOptions({});
describe('Models', () => {
describe('CallbackModel', () => {
let parser;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const spec = require('../fixtures/callback.json');
parser = new OpenAPIParser(spec, undefined, opts);
const parser = new OpenAPIParser(spec, undefined, opts);
test('basic callback details', () => {
const callback = new CallbackModel(