From 07bb25bff0258a77b5ca469aec98b235904c5cbd Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 13 Oct 2026 21:48:55 +0800 Subject: [PATCH] test(docs): align translated guide drift cases with relative links --- tests/boundary/filesystem/productCatalog.test.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/boundary/filesystem/productCatalog.test.ts b/tests/boundary/filesystem/productCatalog.test.ts index 1c5f3ebcd..88edb33e3 100644 --- a/tests/boundary/filesystem/productCatalog.test.ts +++ b/tests/boundary/filesystem/productCatalog.test.ts @@ -206,17 +206,15 @@ describe("canonical product catalog drift", () => { "(docs/installation.md#supported-agents)", "(docs/installation.md#missing-agents)", ], + ["(docs/native-investigation.md)", "(docs/missing-native.md)"], [ - "https://rea.tools/zh-CN/guides/native/", - "https://rea.tools/zh-CN/missing/", + "(docs/native-investigation.md)", + "(docs/native-investigation.md?other=1)", ], + ["https://rea.tools/zh-CN/guides/", "https://rea.tools/zh-TW/guides/"], [ - "https://rea.tools/zh-CN/guides/native/", - "https://rea.tools/zh-TW/guides/native/", - ], - [ - "https://rea.tools/zh-CN/guides/native/", - "https://rea.tools/zh-CN/guides/native/?other=1", + "https://rea.tools/zh-CN/guides/", + "https://rea.tools/zh-CN/guides/?other=1", ], ] as const) { expect(translated).toContain(original);