avh4 / elm-program-test / SimulatedEffect.Time

This module parallels elm/time's Time module. Pull requests are welcome to add any functions that are missing.

The functions here produce SimulatedEffects instead of Cmds, which are meant to be used to help you implement the function to provide when using ProgramTest.withSimulatedEffects.

Time

now : ProgramTest.SimulatedTask x Time.Posix

Get the POSIX time at the moment when this task is run.