Skip to content

Commit

Permalink
update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jan 24, 2024
1 parent 2174cb6 commit 3c80f39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/components/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ const parser = new Parser();

describe('Index component', () => {
it('should render AsyncAPI v3 document', async () => {
const { document, diagnostics } = await fromFile(parser, asyncapi_v3_path).parse();
console.log(diagnostics);
const { document } = await fromFile(parser, asyncapi_v3_path).parse();
expect(document).not.toBeUndefined();
const result = render(<Index asyncapi={document} params={{}}/>);
const actual = result.trim();
Expand Down

0 comments on commit 3c80f39

Please sign in to comment.