Skip to content

docs(guides): add vitest integration example #937

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

Merged
merged 4 commits into from
Jul 25, 2025

Conversation

danielpza
Copy link
Contributor

Added vitest integration example

Also linked to the https://github.com/danielpza/vitest-mms package which aims to make it easier to setup up mongodb-memory-server with vitest (DISCLAIMER: I'm the author of the package, I can drop it if that's an issue)

@danielpza danielpza requested review from hasezoey and nodkz as code owners July 20, 2025 07:15
Copy link

codecov bot commented Jul 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.76%. Comparing base (e4992fd) to head (0be8be7).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #937   +/-   ##
=======================================
  Coverage   90.76%   90.76%           
=======================================
  Files          15       15           
  Lines        2035     2035           
  Branches      513      498   -15     
=======================================
  Hits         1847     1847           
  Misses        188      188           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hasezoey hasezoey added the docs This issue/pr is about documentation label Jul 20, 2025
Copy link
Member

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

Thanks for adding a integration example for vitest. Please note that i have not used vitest yet.

(DISCLAIMER: I'm the author of the package, I can drop it if that's an issue)

No problem, just as noted below, please update with a little description.

@danielpza
Copy link
Contributor Author

.

Updated to address review.

@danielpza danielpza requested a review from hasezoey July 25, 2025 06:27
Copy link
Member

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

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

Looks good to me new, thanks!

@hasezoey hasezoey merged commit bcc6e02 into typegoose:master Jul 25, 2025
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue/pr is about documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants