mermaid/__mocks__/sequenceRenderer.js
Ashley Engelund (weedySeaDragon @ github) f62c5d9698 add diagram renderer mocks
2022-11-17 12:25:14 -08:00

24 lines
370 B
JavaScript

/**
* Mocked sequence diagram renderer
*/
import { vi } from 'vitest';
export const bounds = vi.fn();
export const drawActors = vi.fn();
export const drawActorsPopup = vi.fn();
export const setConf = vi.fn();
export const draw = vi.fn().mockImplementation(() => {
return '';
});
export default {
bounds,
drawActors,
drawActorsPopup,
setConf,
draw,
};