Skip to content

Commit 8e4111b

Browse files
committed
get into tests folder before running tests
1 parent d8788a5 commit 8e4111b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
script: phantomjs ./tests/phantom.js
1+
before_script : cd tests
2+
script: phantomjs phantom.js

tests/files/general.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,4 @@
163163

164164
addTests(test);
165165

166-
})();
166+
})();

tests/phantom.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function createReport(obj) {
4949

5050
//this should be run on a server
5151
//but for now local file seems ok
52-
page.open('./tests/index.html', function(status) {
52+
page.open('index.html', function(status) {
5353
//var timeout = setTimeout(function(){
5454
var evaluate = function(){
5555
return page.evaluate(function(phantom) {

0 commit comments

Comments
 (0)