Ajout de chrome/chromium aux navigateurs de test pour karma.js

This commit is contained in:
Fabrice PENHOËT 2021-05-06 16:11:03 +02:00
parent cfedb41808
commit bd3d8a6644
3 changed files with 12 additions and 2 deletions

View File

@ -54,7 +54,7 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Firefox'],
browsers: ['Firefox', 'Chromium'],
// Continuous Integration mode

11
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "vCarousel",
"version": "0.3.0",
"version": "0.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -3949,6 +3949,15 @@
}
}
},
"karma-chrome-launcher": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz",
"integrity": "sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==",
"dev": true,
"requires": {
"which": "^1.2.1"
}
},
"karma-firefox-launcher": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-2.1.0.tgz",

View File

@ -22,6 +22,7 @@
"@types/jasmine": "^3.6.10",
"jasmine": "^3.7.0",
"karma": "^6.3.2",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-phantomjs-launcher": "^1.0.4",