Skip to content

Commit

Permalink
fix info unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 authored Aug 12, 2023
1 parent d4945b4 commit e567deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/info/info.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { db } from './infoDb.js';
describe('info', () => {
it('should handle an info definition', () => {
const str = `info`;
expect(parse(str)).not.toThrow();
expect(() => { parse(str) }).not.toThrow();
});
});

0 comments on commit e567deb

Please sign in to comment.