Skip to content

Commit

Permalink
Update testing/tests/index.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Mar 15, 2024
1 parent be2c2d3 commit 65cb9c5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions testing/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 65cb9c5

Please sign in to comment.