Skip to content
Merged
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
3 changes: 0 additions & 3 deletions argos/tests/screenshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
'/tests/blog/archive',
'/tests/pages/code-block-tests',
'/tests/pages/embeds',
// Flaky because of hydration error with docusaurus serve + .html
'/tests/blog/x/y/z.html',
'/tests/docs/dummy.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 +66,7 @@
// changelog docs
pathname.startsWith('/changelog') ||
// versioned docs
pathname.match(/^\/docs\/((\d\.\d\.\d)|(next))\//) ||

Check warning on line 69 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 69 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 69 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 +103,8 @@
return str.startsWith('/') ? str.slice(1) : str;
}

pathname = removeTrailingSlash(pathname);

Check warning on line 106 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 107 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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading