Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@
"purescript-nullable": "^3.0.0",
"purescript-prelude": "^3.0.0",
"purescript-unsafe-coerce": "^3.0.0"
},
"devDependencies": {
"purescript-test-unit": "^11.0.0",
"purescript-phantom": "^2.0.0",
"purescript-exitcodes": "^3.0.0"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "eslint src && pulp build -- --censor-lib --strict"
"build": "eslint src && pulp build -- --censor-lib --strict",
"test": "PHANTOM_TEST_PATH=$(pwd) pulp test --runtime phantomjs"
},
"devDependencies": {
"eslint": "^3.19.0",
Expand Down
2 changes: 1 addition & 1 deletion test/DOM/HTML/Window.purs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Test.DOM.HTML.Window where

import Prelude (Unit, bind, (<<<))
import Prelude (Unit, bind, (<<<), discard)
import DOM (DOM)
import DOM.HTML (window)
import DOM.HTML.Types (WINDOW)
Expand Down
4 changes: 2 additions & 2 deletions test/Main.purs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Test.Main where

import Prelude (($), bind)
import Prelude (($), discard)
import DOM (DOM)
import DOM.HTML.Types (WINDOW)
import Data.Enum (fromEnum)
Expand All @@ -24,7 +24,7 @@ liftEff = EffClass.liftEff

main
:: forall eff
. Eff (err :: EXCEPTION, console :: CONSOLE, avar :: AVAR, dom :: DOM, window :: WINDOW, phantomjs :: PHANTOMJS | eff)
. Eff (exception :: EXCEPTION, console :: CONSOLE, avar :: AVAR, dom :: DOM, window :: WINDOW, phantomjs :: PHANTOMJS | eff)
(Canceler (console :: CONSOLE, avar :: AVAR, dom :: DOM, window :: WINDOW, phantomjs :: PHANTOMJS | eff))
main = launchAff $ runTest do
domHtmlWindowTests
Expand Down