aboutsummaryrefslogtreecommitdiff
path: root/js/test
diff options
context:
space:
mode:
authorJoris2019-02-02 17:14:33 +0100
committerJoris2019-02-02 17:14:33 +0100
commit142e0c9fac9896f8cb134fd1e1b010753402e7b8 (patch)
tree6315c75f5d8a2a0c4f6e6b7251f621fde933ac9f /js/test
parentfb470f57438047ac8bd635dc485881ebae4ab0ff (diff)
Make it works and add “galette” recipe
Diffstat (limited to 'js/test')
-rw-r--r--js/test/Main.purs6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/test/Main.purs b/js/test/Main.purs
index e23f9e2..3a4f03c 100644
--- a/js/test/Main.purs
+++ b/js/test/Main.purs
@@ -2,19 +2,19 @@ module Test.Main
( main
) where
-import Control.Monad.Eff (Eff)
import Data.Maybe (Maybe(Just, Nothing))
+import Effect (Effect)
import Prelude
import Test.Spec (describe, it)
import Test.Spec.Assertions (shouldEqual)
import Test.Spec.Reporter.Console (consoleReporter)
-import Test.Spec.Runner (RunnerEffects, run)
+import Test.Spec.Runner (run)
import Number (roundAt, format) as Number
import Parser (TextWithNumber)
import Parser (textWithNumber, number) as Parser
-main :: Eff (RunnerEffects ()) Unit
+main :: Effect Unit
main = run [consoleReporter] do
describe "Number" do