1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-02 11:34:50 +02:00

Add dependencies and configuration for all browser launchers

This commit is contained in:
Christopher Currie 2014-01-21 08:42:40 -08:00
parent 51b836d6be
commit a54d9cdae6
2 changed files with 17 additions and 3 deletions

View File

@ -36,6 +36,12 @@
"grunt-contrib-less": "~0.6.4",
"grunt-karma": "~0.6.2",
"karma": "~0.10.0",
"karma-chrome-launcher": "*",
"karma-firefox-launcher": "*",
"karma-ie-launcher": "*",
"karma-opera-launcher": "*",
"karma-phantomjs-launcher": "*",
"karma-safari-launcher": "*",
"karma-qunit": "~0.1.1",
"videojs-doc-generator": "0.0.1",
"qunitjs": "~1.12.0"

View File

@ -26,7 +26,7 @@ module.exports = function(config) {
// - PhantomJS
// - IE (only Windows)
// Example usage:
// browsers = ['Chrome','Firefox','Safari'];
// browsers: ['Chrome','Firefox','Safari'],
browsers: [],
// List of files / patterns to load in the browser
@ -68,7 +68,15 @@ module.exports = function(config) {
'../test/unit/*.js'
],
plugins: ['karma-qunit', 'karma-chrome-launcher'],
plugins: [
'karma-qunit',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-ie-launcher',
'karma-opera-launcher',
'karma-phantomjs-launcher',
'karma-safari-launcher'
],
// list of files to exclude
exclude: [
@ -100,4 +108,4 @@ module.exports = function(config) {
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000
});
};
};