-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi again, I'm having issues with the way do
notation is compiled as tests, wondering if this is an issue or if there's something i could be doing differently
--| ```purescript run
--| > import Effect.Unsafe (unsafePerformEffect)
--| > import Effect.Console (log)
--| > unsafePerformEffect $ do
--| log "help!"
--| mempty
--| unit
--| ```
foo = "bar"
compiles to invalid test code:
main :: Spec Unit
main = describe "Test.DocTest.Effect.Worker" $ do
it "value spec in docs from: sendMsg" $ show (unsafePerformEffect $ do log "help!"
mempty) `shouldEqual` "unit"
pure unit
Metadata
Metadata
Assignees
Labels
No labels