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

22 lines
350 B
JavaScript

/**
* Mocked C4Context diagram renderer
*/
import { vi } from 'vitest';
export const drawPersonOrSystemArray = vi.fn();
export const drawBoundary = vi.fn();
export const setConf = vi.fn();
export const draw = vi.fn().mockImplementation(() => {
return '';
});
export default {
drawPersonOrSystemArray,
drawBoundary,
setConf,
draw,
};