Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed Apr 27, 2023
1 parent fd27627 commit 2c63371
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/docusaurus-utils/src/__tests__/markdownLinks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,11 @@ The following operations are defined for [URI]s:
'@site/docs/file.md': '/docs/file',
},
fileString: input,
}).newContent,
).toEqual(input);
}),
).toEqual({
newContent: input,
brokenMarkdownLinks: [],
});
});

it('handles stray spaces', () => {
Expand Down

0 comments on commit 2c63371

Please sign in to comment.