Releases: nicoespeon/jest-extended-snapshot
Releases · nicoespeon/jest-extended-snapshot
v1.1.2
Update dependencies & explicitly declare where the types are.
Thanks @AmedeeVanGasse for raising it up!
Add `range()` helper
Add range()
helper to generate range of numbers:
// Before
expect(myFunction).toVerifyAllCombinations(
[-1, 0, 1, 2, 3, 4],
["random", "foo"],
);
// 🚀 Now
import { range } from "jest-extended-snapshot";
expect(myFunction).toVerifyAllCombinations(range(-1, 4), ["random", "foo"]);
First stable release
Added
- First matcher
.toVerifyAllCombinations([args])
. It tests all combinations of given parameters to the function under test, and match against snapshot.
v0.2.0
Fix typos, types and peer-dependency requirements.
v0.1.0
Test release on npm.