diff --git a/package.json b/package.json index e0a6c420ed..8c3812c244 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,8 @@ "graceful-fs": "~3.0.2", "jsdoc": "~3.3.0-alpha7", "jshint": "~2.5.1", + "mocha": "~1.20.1", + "mocha-phantomjs": "~3.5.0", "nomnom": "~1.6.2", "phantomjs": "~1.9.7-5", "sinon": "~1.10.2", diff --git a/tasks/test.js b/tasks/test.js index f082b468a5..40ee8ae198 100644 --- a/tasks/test.js +++ b/tasks/test.js @@ -55,7 +55,8 @@ serve.createServer(function(err, server) { var address = server.address(); var url = 'http://' + address.address + ':' + address.port; var args = [ - path.join(__dirname, '..', 'test', 'mocha-phantomjs.js'), + path.join(__dirname, + '../node_modules/mocha-phantomjs/lib/mocha-phantomjs.coffee'), url + '/test/index.html' ]; diff --git a/test/index.html b/test/index.html index 46b171ac37..932da49912 100644 --- a/test/index.html +++ b/test/index.html @@ -3,7 +3,7 @@ OL Spec Runner - + @@ -13,7 +13,7 @@ - +