Skip to content

Commit

Permalink
Upgrade to use latest elm-test and best practices.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Feldman committed Sep 3, 2016
1 parent 1cac5e8 commit db450e5
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"elm-css": "./elm-css.js"
},
"directories": {
"test": "test"
"test": "tests"
},
"scripts": {
"test": "cd test && elm-test TestRunner.elm && mocha *.js"
"test": "elm-test && cd tests && mocha *.js"
},
"repository": {
"type": "git",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/TestRunner.elm → tests/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Tests
import Json.Encode exposing (Value)


main : Program Never
main : Program Value
main =
run emit Tests.all

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/elm-package.json → tests/elm-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
],
"exposed-modules": [],
"dependencies": {
"elm-community/elm-test": "2.0.1 <= v < 3.0.0",
"elm-lang/core": "4.0.0 <= v < 5.0.0",
"rtfeldman/elm-css-util": "1.0.1 <= v < 2.0.0",
"elm-community/elm-test": "2.0.0 <= v < 3.0.0",
"rtfeldman/node-test-runner": "1.0.0 <= v < 2.0.0"
"rtfeldman/node-test-runner": "2.0.1 <= v < 3.0.0"
},
"elm-version": "0.17.0 <= v < 0.18.0"
}
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions tests/homepage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
header {
background-color: rgb(90, 90, 90);
box-sizing: border-box;
padding: -80px;
}

nav {
display: inline-block;
padding-bottom: 12px;
}

.homepageNavLink {
margin: 12px;
color: rgb(255, 255, 255);
}

#ReactiveLogo {
display: inline-block;
margin-left: 150px;
margin-right: 80px;
vertical-align: middle;
}

#BuyTickets {
padding: 16px;
padding-left: 24px;
padding-right: 24px;
margin-left: 50px;
margin-right: auto;
color: rgb(255, 255, 255);
background-color: rgb(27, 217, 130);
vertical-align: middle;
}

0 comments on commit db450e5

Please sign in to comment.