diff --git a/src/test/Harness.tsx b/src/test/Harness.tsx index 585094a..0ab1892 100644 --- a/src/test/Harness.tsx +++ b/src/test/Harness.tsx @@ -9,6 +9,8 @@ import type { OnAdd, OnDelete, OnInput, OnValidate, PublicAPI } from '../sharedT // HACK: window.HTMLElement.prototype.scrollTo = vi.fn(() => null) +// HACK: +window.HTMLCanvasElement.prototype.getContext = vi.fn(() => null) export type MockedOnAdd = MockedFunction export type MockedOnDelete = MockedFunction