Skip to content

Commit 3e750bb

Browse files
slorbergithub-actions[bot]
authored andcommitted
refactor: apply lint autofix
1 parent b6250f7 commit 3e750bb

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

packages/docusaurus/src/server/__tests__/brokenLinks.test.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -736,25 +736,25 @@ describe('handleBrokenLinks', () => {
736736

737737
const collectedLinks: Params['collectedLinks'] = Object.fromEntries(
738738
Array.from<SimpleRoute>({length: scale}).map((_, i) => [
739-
`/page${i}`,
740-
{
741-
links: [
742-
...Array.from<SimpleRoute>({length: scale}).flatMap((_2, j) => [
743-
`/page${j}`,
744-
`/page${j}?age=42`,
745-
`/page${j}#anchor${j}`,
746-
`/page${j}?age=42#anchor${j}`,
747-
`/pageDynamic/subPath${j}`,
748-
`/pageDynamic/subPath${j}?age=42`,
749-
// `/pageDynamic/subPath${j}#anchor${j}`,
750-
// `/pageDynamic/subPath${j}?age=42#anchor${j}`,
751-
]),
752-
],
753-
anchors: Array.from<SimpleRoute>({length: scale}).map(
754-
(_2, j) => `anchor${j}`,
755-
),
756-
},
757-
]),
739+
`/page${i}`,
740+
{
741+
links: [
742+
...Array.from<SimpleRoute>({length: scale}).flatMap((_2, j) => [
743+
`/page${j}`,
744+
`/page${j}?age=42`,
745+
`/page${j}#anchor${j}`,
746+
`/page${j}?age=42#anchor${j}`,
747+
`/pageDynamic/subPath${j}`,
748+
`/pageDynamic/subPath${j}?age=42`,
749+
// `/pageDynamic/subPath${j}#anchor${j}`,
750+
// `/pageDynamic/subPath${j}?age=42#anchor${j}`,
751+
]),
752+
],
753+
anchors: Array.from<SimpleRoute>({length: scale}).map(
754+
(_2, j) => `anchor${j}`,
755+
),
756+
},
757+
]),
758758
);
759759

760760
// console.time('testBrokenLinks');

0 commit comments

Comments
 (0)