---
title: "Comment by Matej on \"How to write fewer tests but find more bugs in your React components\" | Hashnode"
description: "I never knew you could use each for creating scenarios and it iterates over that! Super useful, thanks for this!"
url: "https://hashnode.com/posts/how-to-write-fewer-tests-but-find-more-bugs-in-your-react-components/614794c5699fe76cd34833e1/comment/6148f87e699fe76cd34852a6"
---

[Discussion](https://hashnode.com/posts/how-to-write-fewer-tests-but-find-more-bugs-in-your-react-components/614794c5699fe76cd34833e1)

Comment [How to write fewer tests but find more bugs in your React components](https://hashnode.com/posts/how-to-write-fewer-tests-but-find-more-bugs-in-your-react-components/614794c5699fe76cd34833e1)

[Matej](https://hashnode.com/@konradmatej)

[Sep 20, 2021](https://hashnode.com/posts/how-to-write-fewer-tests-but-find-more-bugs-in-your-react-components/614794c5699fe76cd34833e1/comment/6148f87e699fe76cd34852a6)

I never knew you could use `each` for creating scenarios and it iterates over that! Super useful, thanks for this!
