Skip to content
Permalink
Browse files

typo

  • Loading branch information...
tvler committed Mar 22, 2019
1 parent 1df3f62 commit b80fb220b84be71bb21cd4413e1d3e8291d4681b
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
@@ -80,7 +80,7 @@ const Button = props => (
);
```

The amount of combinations `prop-sets` generates is the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product) of all the values passed in (`a.length * b.length * c.length * ...`), so as the amount of tested props begins grow, `prop-sets` reduces your test's complexity at an exponential rate.
The amount of combinations `prop-sets` generates is the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product) of all the values passed in (`a.length * b.length * c.length * ...`), so as the amount of props grows, `prop-sets` reduces your test's complexity at an exponential rate.

For example, if you have a component that only behaves a certain way if all 5 of its boolean props are true, the amount of tests you would need to write to formally assert that behavior is **32**. With `prop-sets`, just **one**!:

0 comments on commit b80fb22

Please sign in to comment.
You can’t perform that action at this time.