I've seen examples of tests of everyday functions, which I guess make up
the bulk of Elm code.
What about others?
Is it worthwhile writing unit tests for constructor functions from type
aliases - testing that the function creates an item of that type?
If so how best to do that?
All I've come up with so far is:
\() ->
Expect.equal
"/path/"
(App.Flags "/path/").staticAssetsPath
How about types and ports. Is there a need and way to do unit tests for
them?
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.