Main.purs 335 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
import Test.Spec.Discovery (discover)
import Test.Spec.Reporter.Console (consoleReporter)
8
import Test.Spec.Runner (runSpec)
Abinaya Sudhir's avatar
Abinaya Sudhir committed
9

10
main :: Effect Unit
11 12 13
main = launchAff_ do
  specs <- discover "Gargantext\\..*Spec"
  runSpec [consoleReporter] specs