Skip to content

Commit

Permalink
Run generator end-to-end test on unique port (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-wade authored Jun 10, 2016
1 parent 55e8dd8 commit 211ad97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "HelloWorld.js",
"scripts": {
"compile": "gulp",
"start": "react-server-cli --routes build/routes.js",
"start": "react-server-cli --port 3010 --js-port 3011 --routes build/routes.js",
"test": "xo && nsp check && ava test.js"
},
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function getResponseCode(url) {
return new Promise((resolve, reject) => {
const req = http.get({
hostname: 'localhost',
port: 3000,
port: 3010,
path: url
}, res => {
resolve(res.statusCode);
Expand Down

0 comments on commit 211ad97

Please sign in to comment.