Skip to content

Commit

Permalink
Fix tests with phantomjs 2.1.1
Browse files Browse the repository at this point in the history
Apparently doesn't support query string on relative file URIs anymore.
Same file is already running as URL, so coverage is the same.
  • Loading branch information
jzaefferer committed Feb 5, 2016
1 parent 88557ff commit b8267e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ module.exports = function(grunt) {
urls: [
'http://localhost:9000/test/qunit3.html?foo=bar'
]
},
src: 'test/qunit3.html'
}
}
}

Expand All @@ -85,8 +84,7 @@ module.exports = function(grunt) {
'test/qunit1.html': 3,
'test/qunit2.html': 3,
'http://localhost:9000/test/qunit1.html': 2,
'http://localhost:9000/test/qunit3.html?foo=bar&noglobals=': 1,
'test/qunit3.html?noglobals=': 1
'http://localhost:9000/test/qunit3.html?foo=bar&noglobals=': 1
};
try {
assert.deepEqual(actual, expected, 'Actual should match expected.');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"main": "tasks/qunit.js",
"scripts": {
"test": "grunt test"
"test": "grunt test --stack"
},
"dependencies": {
"grunt-lib-phantomjs": "^1.0.0"
Expand Down

0 comments on commit b8267e8

Please sign in to comment.