Skip to content

Commit

Permalink
fix info unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Aug 12, 2023
1 parent d4945b4 commit b77a4fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 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,8 @@ 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 b77a4fe

Please sign in to comment.