From d3c1edc3ee4e3ab1846b96fb0194b4378316d80f Mon Sep 17 00:00:00 2001 From: Ahmad Mamdouh Date: Sat, 24 Jul 2021 11:41:39 +0200 Subject: [PATCH] Fix wrong variable name (#5235) --- packages/app-cli/tests/support/plugins/dialog/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-cli/tests/support/plugins/dialog/src/index.ts b/packages/app-cli/tests/support/plugins/dialog/src/index.ts index 3a9f32722..8f429387a 100644 --- a/packages/app-cli/tests/support/plugins/dialog/src/index.ts +++ b/packages/app-cli/tests/support/plugins/dialog/src/index.ts @@ -54,7 +54,7 @@ joplin.plugins.register({ Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

`); - await (dialogs as any).fitToContent(handle4, false); + await (dialogs as any).setFitToContent(handle4, false); await dialogs.open(handle4); },