Main.purs 313 Bytes
Newer Older
Abinaya Sudhir's avatar
Abinaya Sudhir committed
1 2 3
module Test.Main where

import Prelude
4
import Effect (Effect)
Przemyslaw Kaminski's avatar
Przemyslaw Kaminski committed
5
import Effect.Aff (launchAff_)
6 7 8
import Test.Spec.Discovery (discover)
import Test.Spec.Reporter.Console (consoleReporter)
import Test.Spec.Runner (run)
Abinaya Sudhir's avatar
Abinaya Sudhir committed
9

10
main :: Effect Unit
Przemyslaw Kaminski's avatar
Przemyslaw Kaminski committed
11
main = discover "Gargantext\\..*Spec" >>= run [consoleReporter] >>> launchAff_