Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| // `vite-plugin-env` controlling it and the lack of a way to pass in an Astro config using | ||
| // `getViteConfig()` from `astro/config`. | ||
| test.todo('returns slugs with a custom `base` option', () => { | ||
| test('returns slugs with a custom `base` option', () => { |
There was a problem hiding this comment.
Note that this test does not need the whole resetModules() → stubEnv() → import() dance as contrary to base.ts, BASE_URL is not used/evaluated at the top-level scope of the module but in the scope of the function under test.
* main: i18n(zh-cn): Update docs about synced-tabs (withastro#1834) i18n(zh-cn): Update some docs about withastro#1620 & withastro#1613 (withastro#1835) Add more diagnostic help to error messages thrown by `<Steps>` (withastro#1838) i18n(zh-cn): Update components.mdx (withastro#1836) i18n(zh-cn): Update community-content.mdx (withastro#1833) Improve type checking job (withastro#1831) [ci] format [ci] release (withastro#1832) i18n(ru): update ru.json (withastro#1826) Fix `<Tabs>` sync issue with inconsistent use of `icon` on `<TabItem>` components (withastro#1811) Enable `BASE_URL` tests (withastro#1828)
Description
Following the merge of #1613, this PR enables the
BASE_URLtests we had in the codebase using a similar approach as the one used to stub theMODEtoproductionin the tests.