mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
move db assignment from beforeEach
to beforeAll
This commit is contained in:
@@ -8,8 +8,11 @@ setConfig({
|
||||
});
|
||||
|
||||
describe('pie chart', () => {
|
||||
beforeEach(() => {
|
||||
beforeAll(() => {
|
||||
parser.yy = db;
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
parser.yy.clear();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user