-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add test to check if links in feed are resolved correctly (+2 s…
…quashed commits) Squashed commits: [2db488373] chore: add a new file to test href resolving [6c18cea] docs: added to test if href resolved correctly in feed
- Loading branch information
政宇 廖
committed
Jul 21, 2023
1 parent
b607956
commit a339fc9
Showing
7 changed files
with
501 additions
and
30 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...-plugin-content-blog/src/__tests__/__fixtures__/website/blog/blog-with-links.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...ontent-blog/src/__tests__/__fixtures__/website/build-snap/blog/blog-with-links/index.html
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
357 changes: 331 additions & 26 deletions
357
packages/docusaurus-plugin-content-blog/src/__tests__/__snapshots__/feed.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: 'Test if href in feed resolved correctly' | ||
--- | ||
|
||
[absolute full url](https://github.com/facebook/docusaurus) | ||
|
||
[absolute url with implicit domain name](/tests/blog/2023/07/19/b) | ||
|
||
[relative url](2023-07-19-b.mdx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Test Relative Path |