Hello,
I’m building an SPA where all my data are saved in SQLite wasm in JavaScript. I use the effect pattern as in elm-realworld-example-app/src/Page/Profile.elm at master · dmy/elm-realworld-example-app · GitHub
How can I use elm program test with simulated effect since I need the model for making the effect?
For example I have an Uuid module which build an uuidv7 with 3 randoms and a Time.Posix, so I have an Effect: RequestUuid (Uuid–>msg). This effect call the RequestTime or RequestRandoms based on the pool I have on the model.
Is there a solution to simulate this effect in elm program test?
Thanks in advance