Skip to content

Releases: nicoespeon/jest-extended-snapshot

v1.1.2

09 Oct 11:38
Compare
Choose a tag to compare

Update dependencies & explicitly declare where the types are.
Thanks @AmedeeVanGasse for raising it up!

Add `range()` helper

11 Feb 19:47
Compare
Choose a tag to compare

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

17 Dec 14:53
Compare
Choose a tag to compare

Added

  • First matcher .toVerifyAllCombinations([args]). It tests all combinations of given parameters to the function under test, and match against snapshot.

v0.2.0

17 Dec 14:34
Compare
Choose a tag to compare

Fix typos, types and peer-dependency requirements.

v0.1.0

17 Dec 13:27
Compare
Choose a tag to compare

Test release on npm.