Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu committed Oct 3, 2022
1 parent be56c53 commit 2fefeac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/from.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('fromURL() & fromFile()', function() {

describe('fromURL()', function() {
it('should operate on existing HTTP source', async function() {
const { document, diagnostics } = await fromURL(parser, 'https://raw.githubusercontent.com/asyncapi/spec/master/examples/simple.yml').parse();
const { document, diagnostics } = await fromURL(parser, 'https://raw.githubusercontent.com/asyncapi/spec/v2.0.0/examples/2.0.0/gitter-streaming.yml').parse();
expect(document).not.toBeUndefined();
expect(diagnostics.length > 0).toEqual(true);
expect(hasWarningDiagnostic(diagnostics)).toEqual(true);
Expand Down

0 comments on commit 2fefeac

Please sign in to comment.