Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions argos/tests/screenshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
// Flaky because of hydration error with docusaurus serve + .html
'/tests/blog/x/y/z.html',
'/tests/docs/dummy.html',
'/tests/docs/caf%C3%A9.html',
// Cause weird docusaurus serve errors:
'/tests/docs/tests/ascii/%C3%A6%C3%B8%C3%A5',
'/tests/docs/tests/ascii/folder/%C3%A6%C3%B8%C3%A5',
Expand All @@ -69,7 +70,7 @@
// changelog docs
pathname.startsWith('/changelog') ||
// versioned docs
pathname.match(/^\/docs\/((\d\.\d\.\d)|(next))\//) ||

Check warning on line 73 in argos/tests/screenshot.spec.ts

View workflow job for this annotation

GitHub Actions / Lint AutoFix

Capture group '(next)' should be converted to a named or non-capturing group

Check warning on line 73 in argos/tests/screenshot.spec.ts

View workflow job for this annotation

GitHub Actions / Lint AutoFix

Capture group '(\d\.\d\.\d)' should be converted to a named or non-capturing group

Check warning on line 73 in argos/tests/screenshot.spec.ts

View workflow job for this annotation

GitHub Actions / Lint AutoFix

Capture group '((\d\.\d\.\d)|(next))' should be converted to a named or non-capturing group
// verbose useless dogfooding pages
pathname.startsWith('/tests/docs/toc/') ||
pathname.startsWith('/tests/docs/tags/') ||
Expand Down Expand Up @@ -106,8 +107,8 @@
return str.startsWith('/') ? str.slice(1) : str;
}

pathname = removeTrailingSlash(pathname);

Check warning on line 110 in argos/tests/screenshot.spec.ts

View workflow job for this annotation

GitHub Actions / Lint AutoFix

Assignment to function parameter 'pathname'
pathname = removeLeadingSlash(pathname);

Check warning on line 111 in argos/tests/screenshot.spec.ts

View workflow job for this annotation

GitHub Actions / Lint AutoFix

Assignment to function parameter 'pathname'

if (pathname === '') {
return 'index';
Expand Down
7 changes: 7 additions & 0 deletions website/_dogfooding/_docs tests/html-slug-non-ascii.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
slug: café.html
---

# Doc with a non-ASCII html slug

Opened at `/tests/docs/café.html`, it should render without hydration error.
Loading