Skip to content

Commit a928490

Browse files
committed
Fix broken test after merge of master
- update asyncapi version (avoid warning not latest) - sonar fix (unused constant)
1 parent 147bfca commit a928490

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/documents/asyncapi3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
asyncapi: 3.0.0
1+
asyncapi: 3.1.0
22
info:
33
title: Address change events
44
version: 1.0.0

test/parser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('OpenAPISchemaParser', function () {
7373
});
7474

7575
it('should parse valid AsyncAPI3', async function() {
76-
const { document, diagnostics } = await coreParser.parse(inputWithValidAsyncAPI3);
76+
const { diagnostics } = await coreParser.parse(inputWithValidAsyncAPI3);
7777
expect(diagnostics).toHaveLength(0);
7878
});
7979

0 commit comments

Comments
 (0)