Main.purs 464 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
-- import Effect.Uncurried (EffectFn1, runEffectFn1)
7 8
import Test.Spec.Discovery (discover)
import Test.Spec.Reporter.Console (consoleReporter)
9
import Test.Spec.Runner (runSpec)
Abinaya Sudhir's avatar
Abinaya Sudhir committed
10

11 12
-- foreign import _cryptoFix :: forall e. EffectFn1 e Unit

13
main :: Effect Unit
14 15 16 17
main = do
  launchAff_ do
    specs <- discover "Test\\.Gargantext\\..*Spec"
    runSpec [consoleReporter] specs