diff --git a/tests/test_helpers/helpers.ts b/tests/test_helpers/helpers.ts index 08222aa7fa..6731f040c1 100644 --- a/tests/test_helpers/helpers.ts +++ b/tests/test_helpers/helpers.ts @@ -137,6 +137,7 @@ export async function mountComponent( env: SpreadsheetChildEnv; }> { const model = optionalArgs.model || optionalArgs?.env?.model || new Model(); + model.drawGrid = () => {}; const env = makeTestEnv({ ...optionalArgs.env, model: model }); const props = optionalArgs.props || ({} as Props); const app = new App(component, { props, env, test: true });