Match Values - Test Summary Report
Started: 2025-06-30 19:35:43
Suites (1)
1 passed
0 failed
0 pending
Tests (8)
8 passed
0 failed
0 pending
/home/runner/work/match-values/match-values/test/index.test.js0.503s
match > match value (object pattern) > successful matches
should match exact values and default cases
passed
0.002s
match > match value (object pattern) > error cases
should throw when no value matches
passed
0.015s
match > match conditions (conditional pattern) > successful matches
should match various condition types
passed
0.001s
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
match > match conditions (conditional pattern) > error cases
should throw if no condition matches and there is no default
passed
match > lazy matching
should support lazy evaluation and function composition
passed
0.001s