Match Values - Test Summary Report

Started: 2026-06-16 14:34:14
Suites (1)
1 passed
0 failed
0 pending
Tests (9)
9 passed
0 failed
0 pending
/home/runner/work/match-values/match-values/test/index.test.js
0.499s
match > match value (object pattern) > successful matches
should match exact values and default cases
passed
0.003s
match > match value (object pattern) > error cases
should throw when no value matches
passed
0.018s
match > match conditions (conditional pattern) > successful matches
should match various condition types
passed
0.002s
match > match conditions (conditional pattern) > error cases
should throw if the default branch is not last
passed
0.001s
match > match conditions (conditional pattern) > error cases
should throw if a predicate is not a function
passed
0.001s
match > match conditions (conditional pattern) > error cases
should throw if a branch has an invalid structure
passed
0.001s
match > match conditions (conditional pattern) > error cases
should throw if no condition matches and there is no default
passed
0.001s
match > pattern helpers
should support pattern(), withDefault(), and cond()
passed
0.002s
match > lazy matching
should support lazy evaluation and function composition
passed
0.004s