whistle icon indicating copy to clipboard operation
whistle copied to clipboard

Testing helpers

Open boudra opened this issue 5 years ago • 0 comments

Be able to test Programs without having to start Router supervision tree:

program = new(CounterProgram, %{})
{:ok, program} = update(program, {:increment, 1})

assert program.state == 1
assert select(view(program), "div > span.number") == "1"

boudra avatar Feb 09 '19 12:02 boudra