Skip to content

Developer Notes Testing

David Komer edited this page Aug 26, 2018 · 1 revision

The tests use a funky combination of Effect and Aff

Currently, it's a little flimsy in that if the Aff doesn't finish, there's no indicator other than a visual cue in the indented lines of test results (which will pass!)

So be sure to test against failing cases to make sure it's working, before assuming a test really passes!

Currently this is all checked.

Also - the tests in the wrapper are only meant to make sure that all of the functions are working as expected via Purescript. They don't test the internal mechanisms, that's done in the Typescript tests.

Clone this wiki locally