You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that wouldn't include simplifying beforeAll. I had a proof of concept for work, but I don't think it's in any usable state now (and based off an old version of purescript-spec).
At the moment, cleanup is handled by simply running the cleanup after the test sub-tree:
purescript-spec/src/Test/Spec/Runner.purs
Line 132 in f0661f0
This isn't great, as it doesn't get run in situations where the Aff was cancelled. We can fix this by using Aff's
bracket
.IMO this would also lead to a simpler implementation of the
afterAll
beforeAll
hook if a full bracket is encoded in the tree data typeThe text was updated successfully, but these errors were encountered: