Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 46a8ca5

Browse files
committed
chore(testapp): change the default port from 8000 to 8081
This prevents conflicts with the default port for the angular.js application. Closes #887
1 parent fbfc72b commit 46a8ca5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

referenceConf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ exports.config = {
106106
//
107107
// A base URL for your application under test. Calls to protractor.get()
108108
// with relative paths will be prepended with this.
109-
baseUrl: 'http://localhost:' + (process.env.HTTP_PORT || '8000'),
109+
baseUrl: 'http://localhost:9876',
110110

111111
// Selector for the element housing the angular app - this defaults to
112112
// body, but is necessary if ng-app is on a descendant of <body>

spec/environment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ module.exports = {
1515
// A base URL for your application under test.
1616
baseUrl:
1717
'http://' + (process.env.HTTP_HOST || 'localhost') +
18-
':' + (process.env.HTTP_PORT || '8000')
18+
':' + (process.env.HTTP_PORT || '8081')
1919

2020
};

testapp/scripts/web-server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var express = require('express');
44
var util = require('util');
55
var testApp = express();
6-
var DEFAULT_PORT = process.env.HTTP_PORT || 8000;
6+
var DEFAULT_PORT = process.env.HTTP_PORT || 8081;
77
var testAppDir = require('path').resolve(__dirname, '..');
88

99
var main = function(argv) {

0 commit comments

Comments
 (0)