Module
Test.Spec.Runner.Node
- Package
- purescript-spec-node
- Repository
- purescript-spec/purescript-spec-node
#runSpecAndExitProcess' Source
runSpecAndExitProcess' :: forall c. { defaultConfig :: TestRunConfig' c, parseCLIOptions :: Boolean } -> Array Reporter -> Spec Unit -> Effect UnitRuns the given spec and exits the process with an exit code indicating success or failure.
The parseCLIOptions parameter determines whether the defaultConfig
should be used as is or CLI options (if any provided) should be applied on
top of it.