SkillAgentSearch skills...

Given

A monorepo for jasmine / jest addons that help you clean up your microtests by breaking them into a Given / When / Then structure.

Install / Use

/learn @hirezio/Given
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

(jasmine | jest | vitest)-given Monorepo

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

All Contributors

<!-- ALL-CONTRIBUTORS-BADGE:END -->

Packages

This repository contains the HiRez.io's versions of:

| Project | Status | Description | | ------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------- | | @hirez_io/jest-given | @hirez_io/jest-given-status | Jest addon that adds the "Given When Then" syntax | | @hirez_io/jasmine-given | @hirez_io/jasmine-given-status | Jasmine addon that adds the "Given When Then" syntax | | @hirez_io/vitest-given | @hirez_io/vitest-given-status | Vitest addon that adds the "Given When Then" syntax | | @hirez_io/karma-jasmine-given | @hirez_io/karma-jasmine-given-status | Karma plugin for @hirez_io/jasmine-given |

Roadmap

  • [ ] Setup github actions to test, publish and collect coverage respectively
  • [ ] Add "FThen()?
  • [ ] Add more context to error messages (describe label from "this", or then label)?

Prior Art + Credit

The "Given" concept (and implementation) is based on the original jasmine-given library by Justin Searls who've done an amazing job with it, which is in turn based on rspec-given by Jim Weirich.

Contributing

Want to contribute? Yayy! 🎉

Please read and follow our Contributing Guidelines to learn what are the right steps to take before contributing your time, effort and code.

Thanks 🙏

Code Of Conduct

Be kind to each other and please read our code of conduct.

Want to learn more?

<div align="center"> <a href="https://hirez.io?utm_medium=Open_Source&utm_source=Github&utm_campaign=Lead_Generation&utm_content=given_readme_banner"> <img src="for-readme/test-angular.jpg" alt="TestAngular.com - Free Angular Testing Workshop - The Roadmap to Angular Testing Mastery" width="600" /> </a> </div>

Contributors ✨

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://www.hirez.io/?utm_medium=Open_Source&utm_source=Github&utm_campaign=Lead_Generation&utm_content=given--all-contributors-profile-link"><img src="https://avatars1.githubusercontent.com/u/1430726?v=4?s=100" width="100px;" alt="Shai Reznik"/><br /><sub><b>Shai Reznik</b></sub></a><br /><a href="https://github.com/hirezio/given/commits?author=shairez" title="Code">💻</a> <a href="https://github.com/hirezio/given/commits?author=shairez" title="Documentation">📖</a> <a href="#ideas-shairez" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-shairez" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-shairez" title="Maintenance">🚧</a> <a href="#mentoring-shairez" title="Mentoring">🧑‍🏫</a> <a href="https://github.com/hirezio/given/pulls?q=is%3Apr+reviewed-by%3Ashairez" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/hirezio/given/commits?author=shairez" title="Tests">⚠️</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/WynieCronje"><img src="https://avatars.githubusercontent.com/u/4537265?v=4?s=100" width="100px;" alt="WynieCronje"/><br /><sub><b>WynieCronje</b></sub></a><br /><a href="https://github.com/hirezio/given/commits?author=WynieCronje" title="Code">💻</a> <a href="https://github.com/hirezio/given/commits?author=WynieCronje" title="Tests">⚠️</a> <a href="#maintenance-WynieCronje" title="Maintenance">🚧</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Yianen"><img src="https://avatars.githubusercontent.com/u/29684111?v=4?s=100" width="100px;" alt="Yianen"/><br /><sub><b>Yianen</b></sub></a><br /><a href="https://github.com/hirezio/given/commits?author=Yianen" title="Code">💻</a> <a href="https://github.com/hirezio/given/commits?author=Yianen" title="Tests">⚠️</a> <a href="#maintenance-Yianen" title="Maintenance">🚧</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/fouchekeagan"><img src="https://avatars.githubusercontent.com/u/72212540?v=4?s=100" width="100px;" alt="Keagan Fouché"/><br /><sub><b>Keagan Fouché</b></sub></a><br /><a href="https://github.com/hirezio/given/commits?author=fouchekeagan" title="Code">💻</a> <a href="#maintenance-fouchekeagan" title="Maintenance">🚧</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/jsaguet"><img src="https://avatars.githubusercontent.com/u/49377434?v=4?s=100" width="100px;" alt="Julien Saguet"/><br /><sub><b>Julien Saguet</b></sub></a><br /><a href="https://github.com/hirezio/given/commits?author=jsaguet" title="Code">💻</a> <a href="#maintenance-jsaguet" title="Maintenance">🚧</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

View on GitHub
GitHub Stars21
CategoryDevelopment
Updated2mo ago
Forks5

Languages

TypeScript

Security Score

90/100

Audited on Feb 1, 2026

No findings