neat trick to generate lists of test data with Array.from and a generator function
4 reposts56 likes
Or @fast-check.dev? You have the best of both worlds: test case coverage of random and determinism of usual tests (seeded random). On top of that it brings test case reduction capabilities π€«