vite-test-utils
v0.6.0
Published
Test utils for Vite application
Downloads
2,987
Maintainers
Readme
vite-test-utils
Test utilties for Vite Application
🌟 Features
- Approachable test utils
- Out-of-box like web starndard fetch API, manually server and browser control API, these can be used as they are.
- Instant server and browser start
- With vite dev or preview server and playwright, it’s no need to ready for boilerplate code for integration / e2e testing.
- Fixture based on vite config and overridable
- Get ready for your integration / e2e test environment with vite config and you can override it.
- Optimized for Vitest
- Feel the lightning speed integration / e2e testing with vitest!
📝 Documentation
See the docs site.
🙌 Contributing guidelines
If you are interested in contributing to vite-test-utils
, I highly recommend checking out the contributing guidelines here. You'll find all the relevant information such as how to make a PR, how to setup development) etc., there.
💖 Special thanks!
This project is inspired, influenced by the following awesome projects:
- 💚
nuxt
@nuxt/test-utils
package
- 🟡
unjs
- use the several packages
- ⚡
vite
- fork from config loading logic
- ✅
vitest
- integrate setup / teardown hooks and context API