Skip to content

Add getViteConfig helper#4154

Merged
natemoo-re merged 13 commits intomainfrom
feat/get-vite-config
Aug 5, 2022
Merged

Add getViteConfig helper#4154
natemoo-re merged 13 commits intomainfrom
feat/get-vite-config

Conversation

@natemoo-re
Copy link
Copy Markdown
Member

@natemoo-re natemoo-re commented Aug 4, 2022

Changes

Testing

Tested manually

Docs

Future task

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 4, 2022

🦋 Changeset detected

Latest commit: 5163938

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
astro Patch
@e2e/astro-component Patch
@e2e/error-react-spectrum Patch
@e2e/error-sass Patch
@e2e/errors Patch
@e2e/lit-component Patch
@e2e/preact-component Patch
@e2e/react-component Patch
@e2e/solid-component Patch
@e2e/svelte-component Patch
@e2e/e2e-tailwindcss Patch
@e2e/ts-resolution Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) labels Aug 4, 2022
@natemoo-re natemoo-re changed the title Add getVitestConfig helper Add getViteConfig helper Aug 5, 2022
@matthewp
Copy link
Copy Markdown
Contributor

matthewp commented Aug 5, 2022

Missing a changeset

@aFuzzyBear
Copy link
Copy Markdown
Contributor

Oh this looks really promising, cant wait for this

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Aug 5, 2022
@natemoo-re natemoo-re force-pushed the feat/get-vite-config branch from c6cd625 to 5163938 Compare August 5, 2022 19:40
@github-actions github-actions bot removed the pkg: integration Related to any renderer integration (scope) label Aug 5, 2022
@natemoo-re natemoo-re merged commit 36223f6 into main Aug 5, 2022
@natemoo-re natemoo-re deleted the feat/get-vite-config branch August 5, 2022 19:41
@kungpaogao
Copy link
Copy Markdown

yay!! thank you for adding this @natemoo-re

@astrobot-houston astrobot-houston mentioned this pull request Aug 5, 2022
@natemoo-re
Copy link
Copy Markdown
Member Author

Of course @kungpaogao! We still have some work to do to make testing Astro components super easy, but this at least unblocks using Vitest for the other files in your project.

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

Labels

pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 BUG: Installing vitest and writing test.ts files causes errors

5 participants