From 1ee61ef38c421940515ae305f9d6f9cd256e2e79 Mon Sep 17 00:00:00 2001 From: Sarah Rietkerk Date: Thu, 13 Feb 2025 16:31:19 -0800 Subject: [PATCH] change flag to be optional, remove from test files --- pxtlib/main.ts | 2 +- tests/blocklycompiler-test/test.spec.ts | 1 - tests/blocks-test/blocksrunner.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pxtlib/main.ts b/pxtlib/main.ts index 88aaec191f27..02c70989b8d2 100644 --- a/pxtlib/main.ts +++ b/pxtlib/main.ts @@ -395,7 +395,7 @@ namespace pxt { teachertoolUrl?: string; // "/beta---eval" isStatic?: boolean; verprefix?: string; // "v1" - ocvEnabled: boolean; + ocvEnabled?: boolean; } export function localWebConfig() { diff --git a/tests/blocklycompiler-test/test.spec.ts b/tests/blocklycompiler-test/test.spec.ts index 9e9e7b61b6bc..b38f4978faab 100644 --- a/tests/blocklycompiler-test/test.spec.ts +++ b/tests/blocklycompiler-test/test.spec.ts @@ -63,7 +63,6 @@ pxt.webConfig = { runUrl: undefined, docsUrl: undefined, isStatic: undefined, - ocvEnabled: undefined, }; class BlocklyCompilerTestHost implements pxt.Host { diff --git a/tests/blocks-test/blocksrunner.ts b/tests/blocks-test/blocksrunner.ts index 8cea918dbb55..590852166cdb 100644 --- a/tests/blocks-test/blocksrunner.ts +++ b/tests/blocks-test/blocksrunner.ts @@ -43,7 +43,6 @@ pxt.webConfig = { docsUrl: undefined, multiUrl: undefined, isStatic: undefined, - ocvEnabled: undefined }; class BlocklyCompilerTestHost implements pxt.Host {