We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6cd26 commit 5df5ec1Copy full SHA for 5df5ec1
1 file changed
packages/starlight/__tests__/plugins/vitest.config.ts
@@ -78,6 +78,8 @@ export default defineVitestConfig({
78
useTranslations('en')('testPlugin3.doThing'),
79
],
80
langs: [
81
+ // We convert URLs to file paths to avoid potential issues with URL encoded paths,
82
+ // e.g. running tests with a path that contains spaces and would be `%20` encoded.
83
absolutePathToLang(fileURLToPath(new URL('./en/index.md', docsUrl))),
84
absolutePathToLang(fileURLToPath(new URL('./pt-br/index.md', docsUrl))),
85
absolutePathToLang(fileURLToPath(new URL('./index.md', docsUrl))),
0 commit comments