Temporarily disable pattern import

This commit is contained in:
wuyanwanwu
2026-08-14 22:41:44 +08:00
parent 7d45dd8073
commit 39abc86e6e
13 changed files with 24 additions and 19 deletions
+3 -2
View File
@@ -21,9 +21,9 @@ test("server-renders the pixel bead application shell", async () => {
const html = await response.text();
assert.match(html, /<title>豆格工坊|图片转拼豆图纸<\/title>/i);
assert.match(html, /导入现成图纸/);
assert.doesNotMatch(html, /导入现成图纸/);
assert.match(html, /MARD 221 基础色卡/);
assert.match(html, /原图与现成图纸都只在当前浏览器中处理/);
assert.match(html, /图片只在当前浏览器中处理/);
assert.doesNotMatch(html, /codex-preview|Your site is taking shape/i);
});
@@ -35,6 +35,7 @@ test("keeps MARD pattern import wired to the crop and recognition flow", async (
]);
assert.match(page, /function importMardPatternImage\(/);
assert.match(page, /const ENABLE_PATTERN_IMPORT = false/);
assert.match(page, /recognizedCodes/);
assert.match(page, /missingCodeAsEmpty/);
assert.match(page, /没有识别到 MARD 编码的格子视为空白/);