From 336632486e929e187ac072c07ab0528ac556dff9 Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Sun, 11 Oct 2026 10:14:11 +0800 Subject: [PATCH] test(docs): align asset assertion with current DingTalk guide --- tests/fumapress-migration.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fumapress-migration.test.mjs b/tests/fumapress-migration.test.mjs index 0988efc92..b340d2dae 100644 --- a/tests/fumapress-migration.test.mjs +++ b/tests/fumapress-migration.test.mjs @@ -239,7 +239,7 @@ test("prebuild is deterministic and preserves local assets and SEO files", async assert.match(troubleshooting, /```dotenv\nLANGBOT_BOX_ROOT=/); assert.doesNotMatch(troubleshooting, /```env(?:\s|$)/m); const dingtalk = await readFile(path.join(temp, "content/docs/usage/platforms/dingtalk.mdx"), "utf8"); - assert.match(dingtalk, /!\[Don.t modify\]\(\/images\/zh\/deploy\/bots\/dingtalk\/dingtalk13\.png\)/); + assert.match(dingtalk, /!\[DingTalk Open Platform\]\(\/images\/zh\/deploy\/bots\/dingtalk\/dingtalk1\.png\)/); assert.doesNotMatch(dingtalk, /\]\(\.\.\/\.\.\/\.\.\/images\//); await readFile(path.join(temp, "public/images/platforms/qq.svg")); await readFile(path.join(temp, "public/images/zh/plugin/dev/dist/github_release.png"));