From 65cb9c55f35adf01abbaab13c7119892dc211d70 Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Fri, 15 Mar 2024 14:08:02 +0100 Subject: [PATCH] Update testing/tests/index.test.ts --- testing/tests/index.test.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/testing/tests/index.test.ts b/testing/tests/index.test.ts index 3758e9e1290f..83c06cafe614 100644 --- a/testing/tests/index.test.ts +++ b/testing/tests/index.test.ts @@ -1622,13 +1622,7 @@ test("translated content broken links can fall back to en-us", () => { line: 19, column: 16, }); - expect(map.get("/fr/docs/Web/CSS/number")).toMatchObject({ - explanation: "Can't resolve /fr/docs/Web/CSS/number", - suggestion: "/fr/docs/Web/CSS/number", - fixable: true, - line: 21, - column: 14, - }); + expect(map.get("/fr/docs/Web/CSS/number")).toBeUndefined(); const htmlFile = path.join(builtFolder, "index.html"); const html = fs.readFileSync(htmlFile, "utf-8");