Skip to content

Commit

Permalink
move db assignment from beforeEach to beforeAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Aug 10, 2023
1 parent be106be commit 3f5da06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/mermaid/src/diagrams/pie/pie.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ setConfig({
});

describe('pie chart', () => {
beforeEach(() => {
beforeAll(() => {
parser.yy = db;
});

beforeEach(() => {
parser.yy.clear();
});

Expand Down

0 comments on commit 3f5da06

Please sign in to comment.