NOTE: this package is not compatible with Elm 0.19.1
Extends Expect with more Expectations.
Expect
Expectation
Alias of member.
member
Reads better with bdd style tests.
expect [0, 1, 2] to contain 1 -- Passes because [0, 1, 2] contains 1
Passes if value is a member of list.
member 1 [0, 1, 2] -- Passes because 1 is a member of [0, 1, 2]
Alias of
member.Reads better with bdd style tests.