@zilero/jest
v1.2.10
Published
π Opinionated Jest configuration for React and TypeScript projects
Maintainers
Readme
β¨ Opinionated Jest configuration for reliable testing
β¨ Features
- π¦ Zero-config setup
- π― Optimized for modern JavaScript/TypeScript
- π§ Preconfigured testing environment
- π React Testing Library integration
- πͺ TypeScript support out of the box
- π± Next.js ready
- π Built-in code coverage reporting
π₯ Installation
Using npm
npm install --save-dev @zilero/jestUsing yarn
yarn add -D @zilero/jestUsing pnpm
pnpm install -D @zilero/jestπ Quick start
Create the jest.config.js at the root of your project:
import { jest } from '@zilero/jest';
module.exports = jest;Add scripts to your package.json:
"scripts": {
"test": "test",
"test:watch": "test:watch",
"test:coverage": "test:coverage",
}π€ Contributing
We'd love for you to contribute to @zilero/jest! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
How to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature/your-feature). - 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/jest is licensed under the MIT License.
