Skip to content
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

Improve test readability by creating customized vitest matchers #1374

Open
brunoocasali opened this issue Oct 31, 2022 · 0 comments
Open

Improve test readability by creating customized vitest matchers #1374

brunoocasali opened this issue Oct 31, 2022 · 0 comments
Labels
enhancement New feature or request maintenance Issue about maintenance (CI, tests, refacto...)

Comments

@brunoocasali
Copy link
Member

We have a lot of repetition around the assertions of the keys in the response like:

image

image

image

We could create a way to reuse them and make it simpler to read all those conditions...

@brunoocasali brunoocasali added the enhancement New feature or request label Oct 31, 2022
@bidoubiwa bidoubiwa added the maintenance Issue about maintenance (CI, tests, refacto...) label Nov 2, 2022
@flevi29 flevi29 changed the title Improve test readability by creating customized jest matchers Improve test readability by creating customized vitest matchers Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance Issue about maintenance (CI, tests, refacto...)
Projects
None yet
Development

No branches or pull requests

2 participants