diff --git a/tasks/config/saucelabs-mocha.js b/tasks/config/saucelabs-mocha.js index bdbc010092c3..69c28384e740 100644 --- a/tasks/config/saucelabs-mocha.js +++ b/tasks/config/saucelabs-mocha.js @@ -11,12 +11,19 @@ module.exports = { key: process.env.SAUCE_ACCESS_KEY, browsers: [ { - browserName: 'googlechrome', - platform: 'XP' + browserName: 'chrome', + platform: 'Windows 7' + }, + { + browserName: 'safari', + platform: 'OS X 10.9', + }, + { + browserName: 'firefox', + platform: 'Linux', }, { browserName: 'internet explorer', - version: '10', platform: 'Windows 7' } ] diff --git a/tasks/test.js b/tasks/test.js index 66e7f7720d2b..5bdfa35e383c 100644 --- a/tasks/test.js +++ b/tasks/test.js @@ -4,11 +4,11 @@ module.exports = function (grunt) { var testTask = process.env.TRAVIS ? 'saucelabs-mocha:unit' : 'mocha:unit'; grunt.registerTask('test', [ + 'jshint', 'ruby_server', 'maybe_start_server', 'jade', - testTask, - 'jshint' + testTask ]); grunt.registerTask('coverage', [ diff --git a/test/unit/index.html b/test/unit/index.html index 63acb81ae0eb..52256d4d11c3 100644 --- a/test/unit/index.html +++ b/test/unit/index.html @@ -140,7 +140,7 @@ }) .forEach(function (test) { fails.push({ - title: suiteStack.reduce(function (title, suite) { + title: suiteStack.concat(test).reduce(function (title, suite) { if (suite.title) { return (title ? title + ' ' : '') + suite.title; } else {