Skip to content

Jest verifyAll

Choose a tag to compare

@isidore isidore released this 06 Nov 09:59
· 1091 commits to master since this release

Allows

        const digits = [1,2,3,4,5];
        verifyAll("Squared", digits, d => `${d} => ${d*d}` );

to produce

Squared


1 => 1
2 => 4
3 => 9
4 => 16
5 => 25