Skip to content

chore: migration from Jest to Vitest#12010

Open
slorber wants to merge 28 commits into
mainfrom
slorber/migrate-to-vitest
Open

chore: migration from Jest to Vitest#12010
slorber wants to merge 28 commits into
mainfrom
slorber/migrate-to-vitest

Conversation

@slorber
Copy link
Copy Markdown
Collaborator

@slorber slorber commented May 11, 2026

Motivation

The whole frontend community has moved to Vitest for various reasons (ESM support, actively maintained and backed by a funded company) so let's adopt it too.

For now, this PR is mostly an AI-driven draft, I'll fix issues before merging.

I may try to minimize the diff in this PR and refactor things later to adopt good practices in follow-up PRs.

Test Plan

CI

Test links

https://deploy-preview-12010--docusaurus-2.netlify.app/

@slorber slorber requested a review from Josh-Cena as a code owner May 11, 2026 14:26
@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label May 11, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label May 11, 2026
@slorber slorber added the Argos Add this label to run UI visual regression tests. See argos.yml GH action. label May 11, 2026
@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 11, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Size Change: 0 B

Total Size: 12 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 29 kB 0 B
website/.docusaurus/globalData.json 38.7 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 179 kB 0 B
website/.docusaurus/routes.js 88.9 kB 0 B
website/.docusaurus/routesChunkNames.json 93.3 kB 0 B
website/.docusaurus/site-metadata.json 2.55 kB 0 B
website/build/assets/css/styles.********.css 146 kB 0 B
website/build/assets/js/main.********.js 743 kB 0 B
website/build/assets/js/runtime~main.********.js 39.7 kB 0 B
website/build/blog.html 77.6 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 65.7 kB +1 B (0%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 45.1 kB +1 B (0%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 49.4 kB +6 B (+0.01%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 29.3 kB +1 B (0%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 40.2 kB +1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.8 kB +1 B (0%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 51.6 kB +1 B (0%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 47.6 kB +1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 48.2 kB +1 B (0%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 54.4 kB +1 B (0%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 43.6 kB +1 B (0%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 133 kB +1 B (0%)
website/build/blog/2022/09/01/docusaurus-2.1.html 50.3 kB +1 B (0%)
website/build/blog/archive.html 23.8 kB 0 B
website/build/blog/authors.html 50.5 kB 0 B
website/build/blog/authors/j-marcey.html 70.4 kB 0 B
website/build/blog/authors/josh-cena.html 47 kB 0 B
website/build/blog/authors/lex-111.html 55.8 kB 0 B
website/build/blog/authors/slorber.html 81.1 kB 0 B
website/build/blog/authors/slorber/page/2.html 80.3 kB 0 B
website/build/blog/authors/slorber/page/3.html 83.9 kB 0 B
website/build/blog/authors/slorber/page/4.html 96.2 kB 0 B
website/build/blog/authors/slorber/page/5.html 53.4 kB 0 B
website/build/blog/authors/yangshun.html 66.3 kB 0 B
website/build/blog/authors/zpao.html 47.4 kB 0 B
website/build/blog/page/2.html 76.8 kB 0 B
website/build/blog/page/3.html 81.2 kB 0 B
website/build/blog/page/4.html 85.5 kB 0 B
website/build/blog/page/5.html 72.9 kB 0 B
website/build/blog/page/6.html 40.8 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 126 kB +1 B (0%)
website/build/blog/releases/2.2.html 50.5 kB +1 B (0%)
website/build/blog/releases/2.3.html 60.8 kB +1 B (0%)
website/build/blog/releases/2.4.html 64.3 kB +1 B (0%)
website/build/blog/releases/3.0.html 106 kB +1 B (0%)
website/build/blog/releases/3.1.html 53.3 kB +1 B (0%)
website/build/blog/releases/3.2.html 49.1 kB +1 B (0%)
website/build/blog/releases/3.3.html 56.2 kB +1 B (0%)
website/build/blog/releases/3.4.html 55.3 kB +1 B (0%)
website/build/blog/releases/3.5.html 58 kB +1 B (0%)
website/build/blog/releases/3.6.html 76.3 kB +1 B (0%)
website/build/blog/releases/3.7.html 50.8 kB +1 B (0%)
website/build/blog/releases/3.8.html 85.6 kB +6 B (+0.01%)
website/build/blog/releases/3.9.html 60.8 kB +1 B (0%)
website/build/blog/releases/3.10.html 90.6 kB +1 B (0%)
website/build/blog/tags.html 27.4 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 123 kB +1 B (0%)
website/build/docs.html 50.6 kB +8 B (+0.02%)
website/build/docs/advanced.html 30.9 kB 0 B
website/build/docs/advanced/architecture.html 29.5 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 68.5 kB +1 B (0%)
website/build/docs/advanced/plugins.html 54 kB +1 B (0%)
website/build/docs/advanced/routing.html 69 kB +1 B (0%)
website/build/docs/advanced/ssg.html 73.1 kB +1 B (0%)
website/build/docs/api/docusaurus-config.html 231 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 44.3 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 35.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 34.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 36.1 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 39.6 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/logger.html 38.2 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 37.1 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 61.2 kB +9 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 58.1 kB +1 B (0%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 56.5 kB +1 B (0%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 157 kB +1 B (0%)
website/build/docs/api/plugin-methods/static-methods.html 43.9 kB +1 B (0%)
website/build/docs/api/plugins.html 32.5 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 58.9 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 182 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 189 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 73.5 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 46.8 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 47.4 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 48.9 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.4 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 47.3 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51.1 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 115 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 40.1 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 64.7 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 45.1 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.4 kB +1 B (0%)
website/build/docs/api/themes.html 29.4 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 42.6 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 35.8 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 34.6 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 32.5 kB 0 B
website/build/docs/api/themes/configuration.html 246 kB +1 B (0%)
website/build/docs/blog.html 198 kB +1 B (0%)
website/build/docs/browser-support.html 46.8 kB +6 B (+0.01%)
website/build/docs/category/getting-started.html 27.7 kB 0 B
website/build/docs/category/guides.html 38.1 kB 0 B
website/build/docs/category/miscellaneous.html 27.5 kB 0 B
website/build/docs/cli.html 59.2 kB +1 B (0%)
website/build/docs/configuration.html 90.1 kB +1 B (0%)
website/build/docs/create-doc.html 60.3 kB +1 B (0%)
website/build/docs/creating-pages.html 56 kB +1 B (0%)
website/build/docs/deployment.html 210 kB +6 B (0%)
website/build/docs/docs-introduction.html 49.6 kB +1 B (0%)
website/build/docs/docs-multi-instance.html 72 kB +1 B (0%)
website/build/docs/docusaurus-core.html 219 kB +1 B (0%)
website/build/docs/guides/whats-next.html 32.2 kB 0 B
website/build/docs/i18n/crowdin.html 143 kB +8 B (+0.01%)
website/build/docs/i18n/git.html 77.6 kB +8 B (+0.01%)
website/build/docs/i18n/introduction.html 48.4 kB +1 B (0%)
website/build/docs/i18n/tutorial.html 164 kB +6 B (0%)
website/build/docs/installation.html 68 kB +12 B (+0.02%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 83.4 kB +2 B (0%)
website/build/docs/markdown-features/admonitions.html 115 kB +1 B (0%)
website/build/docs/markdown-features/assets.html 84.9 kB +1 B (0%)
website/build/docs/markdown-features/code-blocks.html 214 kB +1 B (0%)
website/build/docs/markdown-features/diagrams.html 53.8 kB +1 B (0%)
website/build/docs/markdown-features/head-metadata.html 50.2 kB +1 B (0%)
website/build/docs/markdown-features/links.html 40.3 kB +1 B (0%)
website/build/docs/markdown-features/math-equations.html 89.5 kB +1 B (0%)
website/build/docs/markdown-features/plugins.html 93.8 kB +1 B (0%)
website/build/docs/markdown-features/react.html 130 kB +1 B (0%)
website/build/docs/markdown-features/tabs.html 137 kB +1 B (0%)
website/build/docs/markdown-features/toc.html 85.2 kB +1 B (0%)
website/build/docs/migration.html 38.5 kB +1 B (0%)
website/build/docs/migration/v2.html 38.9 kB +1 B (0%)
website/build/docs/migration/v2/automated.html 39.3 kB +1 B (0%)
website/build/docs/migration/v2/manual.html 185 kB +1 B (0%)
website/build/docs/migration/v2/translated-sites.html 50.1 kB +1 B (0%)
website/build/docs/migration/v2/versioned-sites.html 58.9 kB +1 B (0%)
website/build/docs/migration/v3.html 187 kB +2 B (0%)
website/build/docs/playground.html 31.1 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 121 kB +1 B (0%)
website/build/docs/seo.html 86.3 kB +1 B (0%)
website/build/docs/sidebar.html 133 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 143 kB +1 B (0%)
website/build/docs/sidebar/items.html 171 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 60.8 kB +1 B (0%)
website/build/docs/static-assets.html 50.9 kB +1 B (0%)
website/build/docs/styling-layout.html 136 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 109 kB +1 B (0%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 65.8 kB +9 B (+0.01%)
website/build/docs/using-plugins.html 104 kB +2 B (0%)
website/build/docs/versioning.html 89.8 kB +1 B (0%)
website/build/index.html 35.5 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 67 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 67 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 66 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 68 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 67 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 68 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 69 🟢 100 🟢 100 🟠 86 Report

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 11, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - May 12, 2026, 1:32 PM

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Size Change: 0 B

Total Size: 12.5 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 29.1 kB 0 B
website/.docusaurus/globalData.json 38.7 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 179 kB 0 B
website/.docusaurus/routes.js 88.9 kB 0 B
website/.docusaurus/routesChunkNames.json 93.3 kB 0 B
website/.docusaurus/site-metadata.json 2.4 kB 0 B
website/build/assets/css/styles.********.css 137 kB 0 B
website/build/assets/js/main.********.js 745 kB 0 B
website/build/assets/js/runtime~main.********.js 39.4 kB 0 B
website/build/blog.html 80.3 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 67.8 kB +1 B (0%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 47 kB +1 B (0%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 51.4 kB +6 B (+0.01%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.9 kB +1 B (0%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 42.1 kB +1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 34.5 kB +1 B (0%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 53.7 kB +1 B (0%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 49.6 kB +1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 50.3 kB +1 B (0%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 56.7 kB +1 B (0%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 45.5 kB +1 B (0%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 137 kB +1 B (0%)
website/build/blog/2022/09/01/docusaurus-2.1.html 52.6 kB +1 B (0%)
website/build/blog/archive.html 25.2 kB 0 B
website/build/blog/authors.html 52.7 kB 0 B
website/build/blog/authors/j-marcey.html 73.1 kB 0 B
website/build/blog/authors/josh-cena.html 49.1 kB 0 B
website/build/blog/authors/lex-111.html 58.1 kB 0 B
website/build/blog/authors/slorber.html 84 kB 0 B
website/build/blog/authors/slorber/page/2.html 83.2 kB 0 B
website/build/blog/authors/slorber/page/3.html 86.8 kB 0 B
website/build/blog/authors/slorber/page/4.html 99.6 kB 0 B
website/build/blog/authors/slorber/page/5.html 55.6 kB 0 B
website/build/blog/authors/yangshun.html 69 kB 0 B
website/build/blog/authors/zpao.html 49.5 kB 0 B
website/build/blog/page/2.html 79.5 kB 0 B
website/build/blog/page/3.html 83.9 kB 0 B
website/build/blog/page/4.html 88.4 kB 0 B
website/build/blog/page/5.html 75.5 kB 0 B
website/build/blog/page/6.html 42.6 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 130 kB +1 B (0%)
website/build/blog/releases/2.2.html 52.8 kB +1 B (0%)
website/build/blog/releases/2.3.html 63.4 kB +1 B (0%)
website/build/blog/releases/2.4.html 67.1 kB +1 B (0%)
website/build/blog/releases/3.0.html 110 kB +1 B (0%)
website/build/blog/releases/3.1.html 55.5 kB +1 B (0%)
website/build/blog/releases/3.2.html 51.3 kB +1 B (0%)
website/build/blog/releases/3.3.html 58.5 kB +1 B (0%)
website/build/blog/releases/3.4.html 57.7 kB +1 B (0%)
website/build/blog/releases/3.5.html 60.4 kB +1 B (0%)
website/build/blog/releases/3.6.html 79.3 kB +1 B (0%)
website/build/blog/releases/3.7.html 53.1 kB +1 B (0%)
website/build/blog/releases/3.8.html 88.8 kB +6 B (+0.01%)
website/build/blog/releases/3.9.html 63.3 kB +1 B (0%)
website/build/blog/releases/3.10.html 93.8 kB +1 B (0%)
website/build/blog/tags.html 29.1 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 127 kB +1 B (0%)
website/build/docs.html 52.7 kB +8 B (+0.02%)
website/build/docs/advanced.html 32.4 kB 0 B
website/build/docs/advanced/architecture.html 31 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 71.2 kB +1 B (0%)
website/build/docs/advanced/plugins.html 56.2 kB +1 B (0%)
website/build/docs/advanced/routing.html 71.6 kB +1 B (0%)
website/build/docs/advanced/ssg.html 76.2 kB +1 B (0%)
website/build/docs/api/docusaurus-config.html 240 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 46.5 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 37.6 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 36.6 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.8 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 41.5 kB +1 B (0%)
website/build/docs/api/misc/@docusaurus/logger.html 39.9 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 38.9 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 63.6 kB +9 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 60.4 kB +1 B (0%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.7 kB +1 B (0%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB +1 B (0%)
website/build/docs/api/plugin-methods/static-methods.html 45.8 kB +1 B (0%)
website/build/docs/api/plugins.html 34.1 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 61.7 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 190 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 196 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 77.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 49 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 49.6 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 51.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 50.7 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 49.5 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 53.6 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 120 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 42.1 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 67.6 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 47.2 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 42.5 kB +1 B (0%)
website/build/docs/api/themes.html 30.9 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 44.7 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.6 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 36.4 kB +1 B (0%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 34.1 kB 0 B
website/build/docs/api/themes/configuration.html 258 kB +1 B (0%)
website/build/docs/blog.html 204 kB +1 B (0%)
website/build/docs/browser-support.html 49.1 kB +6 B (+0.01%)
website/build/docs/category/getting-started.html 29.1 kB 0 B
website/build/docs/category/guides.html 39.9 kB 0 B
website/build/docs/category/miscellaneous.html 28.9 kB 0 B
website/build/docs/cli.html 62.7 kB +1 B (0%)
website/build/docs/configuration.html 93.6 kB +1 B (0%)
website/build/docs/create-doc.html 62.8 kB +1 B (0%)
website/build/docs/creating-pages.html 58.4 kB +1 B (0%)
website/build/docs/deployment.html 218 kB +6 B (0%)
website/build/docs/docs-introduction.html 51.9 kB +1 B (0%)
website/build/docs/docs-multi-instance.html 75.2 kB +1 B (0%)
website/build/docs/docusaurus-core.html 227 kB +1 B (0%)
website/build/docs/guides/whats-next.html 34 kB 0 B
website/build/docs/i18n/crowdin.html 148 kB +8 B (+0.01%)
website/build/docs/i18n/git.html 81 kB +8 B (+0.01%)
website/build/docs/i18n/introduction.html 50.6 kB +1 B (0%)
website/build/docs/i18n/tutorial.html 170 kB +6 B (0%)
website/build/docs/installation.html 70.9 kB +12 B (+0.02%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 86.6 kB +2 B (0%)
website/build/docs/markdown-features/admonitions.html 119 kB +1 B (0%)
website/build/docs/markdown-features/assets.html 88.8 kB +1 B (0%)
website/build/docs/markdown-features/code-blocks.html 222 kB +1 B (0%)
website/build/docs/markdown-features/diagrams.html 56.3 kB +1 B (0%)
website/build/docs/markdown-features/head-metadata.html 52.5 kB +1 B (0%)
website/build/docs/markdown-features/links.html 42.3 kB +1 B (0%)
website/build/docs/markdown-features/math-equations.html 93.4 kB +1 B (0%)
website/build/docs/markdown-features/plugins.html 97.5 kB +1 B (0%)
website/build/docs/markdown-features/react.html 136 kB +1 B (0%)
website/build/docs/markdown-features/tabs.html 143 kB +1 B (0%)
website/build/docs/markdown-features/toc.html 88.8 kB +1 B (0%)
website/build/docs/migration.html 40.4 kB +1 B (0%)
website/build/docs/migration/v2.html 40.7 kB +1 B (0%)
website/build/docs/migration/v2/automated.html 41.2 kB +1 B (0%)
website/build/docs/migration/v2/manual.html 192 kB +1 B (0%)
website/build/docs/migration/v2/translated-sites.html 52.3 kB +1 B (0%)
website/build/docs/migration/v2/versioned-sites.html 61.2 kB +1 B (0%)
website/build/docs/migration/v3.html 194 kB +2 B (0%)
website/build/docs/playground.html 32.6 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 125 kB +1 B (0%)
website/build/docs/seo.html 90.1 kB +1 B (0%)
website/build/docs/sidebar.html 139 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 148 kB +1 B (0%)
website/build/docs/sidebar/items.html 177 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 63.7 kB +1 B (0%)
website/build/docs/static-assets.html 53.2 kB +1 B (0%)
website/build/docs/styling-layout.html 141 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 113 kB +1 B (0%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 68.6 kB +9 B (+0.01%)
website/build/docs/using-plugins.html 108 kB +2 B (0%)
website/build/docs/versioning.html 93.6 kB +1 B (0%)
website/build/index.html 37.1 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

[V2]

Name Link
🔨 Latest commit 3fae538
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a032a2d7ef66400083b3919
😎 Deploy Preview https://deploy-preview-12010--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread __tests__/validate-package-json.test.ts Outdated
Comment thread packages/docusaurus-mdx-loader/src/createMDXLoader.ts
Comment on lines -157 to +161
await expect(testFile('invalid.yml')).rejects
.toThrowErrorMatchingInlineSnapshot(`
"The file at "packages/docusaurus-utils/src/__tests__/__fixtures__/dataFiles/dataFiles/invalid.yml" looks invalid (not Yaml nor JSON).
Cause: end of the stream or a document separator is expected (1:1)

1 | }{{{{12434665¨£%£%%£%£}}}}
-----^"
`);
await expect(
testFile('invalid.yml'),
).rejects.toThrowErrorMatchingInlineSnapshot(
`[Error: The file at "packages/docusaurus-utils/src/__tests__/__fixtures__/dataFiles/dataFiles/invalid.yml" looks invalid (not Yaml nor JSON).]`,
);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error Cause not snapshotted?

).rejects.toThrowErrorMatchingInlineSnapshot(`
"Docusaurus couldn't infer a default locale config for x1.
Make sure it is a valid BCP 47 locale name (e.g. en, fr, fr-FR, etc.) and/or provide a valid BCP 47 \`siteConfig.i18n.localeConfig['x1'].htmlLang\` attribute.
Cause: Incorrect locale information provided"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing cause

Comment thread packages/stylelint-copyright/src/__tests__/index.test.ts Outdated
error[key] = normalizePaths(val[key]) as never;
});
return serialize(error);
return printer(error, ...rest.slice(0, -1));
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??? check this, maybe related to error cause loss?

Comment thread website/src/data/__tests__/user.test.ts Outdated
Comment thread tsconfig.base.json
['./plugin4.js', {}],
'./pluginEsm',
'./pluginTypeScript',
'./pluginTypeScript.ts'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is now needed but it seems Vitest require the extension now while Jest didn't.

Probably not a big deal, only affects tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Argos Add this label to run UI visual regression tests. See argos.yml GH action. CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant