elm-program-test
elm-program-test copied to clipboard
Add support for Browser.Dom (tasks)
What would someone want to assert when testing programs that use Browser.Dom?
I've used the getViewport and setViewport functions for smooth scrolling to a desired element. I'm not sure if I want to explicitly test this behavior but I do have a UI explorer where it would be nice to let it get effects from the UI it's displaying and simulate the smooth scrolling (the UI explorer can't just pass along cmds since the UI might make requests to a production API).