Skip to content

Commit

Permalink
Fix tests for rendering handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
krymtkts committed Jan 18, 2025
1 parent a8dc9bb commit b3210f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pocof.Test/Pocof.fs
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ module render =
let handler = Pocof.RenderHandler()

async {
Thread.Sleep 100
Thread.Sleep 300

(state, lazy PSeq.empty, lazy Error "error")
|> Pocof.RenderEvent.Render
|> handler.Publish

Thread.Sleep 100
Thread.Sleep 300

(state, lazy PSeq.empty, lazy Ok [ "Value" ])
|> Pocof.RenderEvent.Render
Expand All @@ -323,7 +323,7 @@ module render =
|> Pocof.RenderEvent.Render
|> handler.Publish

Thread.Sleep 100
Thread.Sleep 300

Pocof.RenderEvent.Quit |> handler.Publish

Expand Down

0 comments on commit b3210f0

Please sign in to comment.