Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('returns none', () => {
assertNone(generate({}));
});
});
it('returns nothing', () => {
assertNone(
findOperationResponse(
[{ code: '2XX', contents: [], headers: [] }, { code: '1XX', contents: [], headers: [] }],
500,
),
);
});
});
it('returns no validation errors', () => {
assertNone(validateAgainstSchema('test', { type: 'string' }, true, 'pfx'));
expect(convertAjvErrorsModule.convertAjvErrors).not.toHaveBeenCalled();
});
});