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 TestLocator RunningItem, printFinishedItem :: TestLocator -> RunningItem -> StateT s (Writer String) Unit, putRunningItems :: Map TestLocator RunningItem -> s -> s, update :: Event -> StateT s (Writer String) Unit } -> Event -> StateT s (Writer String) Unit