1.2.10 • Published 4 months ago

@zilero/vitest v1.2.10

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

✨ Opinionated Vitest configuration for modern testing

✨ Features

  • 📦 Zero-config setup
  • ⚡️ Lightning fast execution
  • 🎯 React Testing Library integration
  • 🔧 TypeScript support out of the box
  • 🚀 Next.js compatible
  • 💪 Code coverage reporting
  • 🎭 UI mode for test debugging
  • 📊 JUnit reports for CI/CD

📥 Installation

Using npm

npm install --save-dev @zilero/vitest

Using yarn

yarn add -D @zilero/vitest

Using pnpm

pnpm install -D @zilero/vitest

🚀 Quick start

Create the vite.config.js at the root of your project:

import { vitest } from '@zilero/vitest';

module.exports = vitest;

Add scripts to your package.json:

"scripts": {
  "test": "vitest",
  "test:ui": "vitest --ui",
  "test:coverage": "vitest run --coverage",
  "test:ci": "vitest run --coverage --reporter=json --reporter=junit"
}

🤝 Contributing

We'd love for you to contribute to @zilero/vitest! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.

How to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Open a pull request.

📜 Code of Conduct

Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.

🔒 Security Policy

Security is our priority. If you encounter any issues, please read our full Security Policy to report vulnerabilities safely and responsibly.

👥 Team

These folks keep the project moving and are resources for help.

📄 License

License @zilero/vitest is licensed under the MIT License.

1.2.0

4 months ago

1.2.9

4 months ago

1.2.10

4 months ago

1.2.1

4 months ago

1.0.1

6 months ago

1.0.0

6 months ago