Skip to content

Commit

Permalink
Simplifying test server url...
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Jun 2, 2014
1 parent 3f1f88b commit 14557ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Start a test server from the project root:

$ grunt connect:tests

This will automatically open the tests at http://127.0.0.1:9998/test/index.html in the default browser, with livereload enabled.
This will automatically open the test suite at http://127.0.0.1:9998 in the default browser, with livereload enabled.

_Note: we recommend cleaning all the browser cookies before running the tests, that can avoid false positive failures._

Expand Down
8 changes: 5 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ module.exports = function (grunt) {
connect: {
saucelabs: {
options: {
port: 9999
port: 9999,
base: ['.', 'test']
}
},
tests: {
options: {
port: 9998,
open: 'http://127.0.0.1:9998/test/index.html',
base: ['.', 'test'],
open: 'http://127.0.0.1:9998',
keepalive: true,
livereload: true
}
Expand All @@ -107,7 +109,7 @@ module.exports = function (grunt) {
'saucelabs-qunit': {
all: {
options: {
urls: ['http://127.0.0.1:9999/test/index.html'],
urls: ['http://127.0.0.1:9999'],
build: process.env.TRAVIS_JOB_ID,
browsers: [
// iOS
Expand Down

0 comments on commit 14557ed

Please sign in to comment.