Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vitest unit tests #2122

Merged
merged 2 commits into from
Dec 5, 2022
Merged

Add vitest unit tests #2122

merged 2 commits into from
Dec 5, 2022

Conversation

chenxsan
Copy link
Contributor

What kind of changes does this PR include?

@netlify
Copy link

netlify bot commented Nov 30, 2022

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 4499521
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/638e64acd7304800079703ab
😎 Deploy Preview https://deploy-preview-2122--astro-docs-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 site settings.

@dsomel21
Copy link
Contributor

dsomel21 commented Dec 4, 2022

Neat! What's so cool about vi-test?

@chenxsan
Copy link
Contributor Author

chenxsan commented Dec 5, 2022

Neat! What's so cool about vi-test?

It's built by the same core members of Vite, which Astro is built upon, and out of the box TypeScript support. That's why I choose it over other test frameworks.

Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Thanks @chenxsan — this looks great 🙌

@delucis delucis changed the title Add vitest to enable unit tests Add vitest unit tests Dec 5, 2022
@delucis delucis merged commit 67af8c5 into withastro:main Dec 5, 2022
@chenxsan chenxsan deleted the feature/add-vitest branch December 6, 2022 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants