Module

Test.Spec.Reporter.Base

Package
purescript-spec
Repository
purescript-spec/purescript-spec

#defaultSummary Source

#defaultReporter Source

defaultReporter :: forall s. s -> (Event -> StateT s (Writer String) Unit) -> Reporter

A default reporter implementation that can be used as a base to build other reporters on top of.

#defaultUpdate Source

defaultUpdate :: forall s. { getRunningItems :: s -> Map Path RunningItem, printFinishedItem :: Path -> RunningItem -> StateT s (Writer String) Unit, putRunningItems :: Map Path RunningItem -> s -> s, update :: Event -> StateT s (Writer String) Unit } -> (Event -> StateT s (Writer String) Unit)