I recently noticed how easy it would be to test my app’s logic, since I just need to call the update
with a Msg
and Model
and can check the output. At least I thought, until I noticed that because I use Browser.application
, my Model
contains a Nav.Key
, which I cannot generate.
Before I go through the trouble of extracting a SubModel
that only includes my app’s model without the Key
, I wanted to ask whether I missed some way of testing the update
function for Browser.application
more easily? Do you know any tricks here?