scrive/elm-form/1.0.0

Formerly kutyel/elm-form. Search finds this package by either name.

Form.Test.ValidationExpectation

Test expectations for use with functions from Form.Test.

= Valid
| ValidDecodesTo a
| Invalid (ErrorValue e)
| InvalidCustomError e

Use with Form.Test.describeValidation or Form.Test.testValidation to express the result you expect.