Fix broken tests

This commit is contained in:
Remco Haszing
2023-04-13 15:13:52 +02:00
parent aa5c1a5f78
commit e84c5ec4c9
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import flowDb from '../flowDb'; import flowDb from '../flowDb.js';
import flow from './flow'; import flow from './flow.jison';
import { setConfig } from '../../../config'; import { setConfig } from '../../../config.js';
setConfig({ setConfig({
securityLevel: 'strict', securityLevel: 'strict',

View File

@@ -9,7 +9,7 @@ beforeAll(async () => {
}); });
const spyOn = vi.spyOn; const spyOn = vi.spyOn;
vi.mock('./mermaidAPI'); vi.mock('./mermaidAPI.js');
afterEach(() => { afterEach(() => {
vi.clearAllMocks(); vi.clearAllMocks();