Browse Source

Added test execution in Chromium.

This adds capturing and executing tests in the Chromium browser.
It is already supported in infra.

Change-Id: I4d18da18f9b93dc057cbe71667c5871e8210c50d
Michael Krotscheck 3 years ago
parent
commit
fc2f3628e4
2 changed files with 4 additions and 3 deletions
  1. 2
    1
      karma-unit.conf.js
  2. 2
    2
      package.json

+ 2
- 1
karma-unit.conf.js View File

@@ -25,11 +25,12 @@ module.exports = function (config) {
25 25
 
26 26
     frameworks: ['jasmine'],
27 27
 
28
-    browsers: [ 'PhantomJS'],
28
+    browsers: [ 'PhantomJS', 'Chrome'],
29 29
 
30 30
     plugins: [
31 31
       'karma-jasmine',
32 32
       'karma-phantomjs-launcher',
33
+      'karma-chrome-launcher',
33 34
       'karma-ng-html2js-preprocessor'
34 35
     ],
35 36
 

+ 2
- 2
package.json View File

@@ -13,7 +13,7 @@
13 13
     "grunt-env": "0.4.1",
14 14
     "grunt-eslint": "7.0.1",
15 15
     "grunt-html2js": "0.2.9",
16
-    "grunt-karma": "0.9.0",
16
+    "grunt-karma": "0.10.1",
17 17
     "grunt-open": "0.2.3",
18 18
     "grunt-protractor-runner": "1.1.4",
19 19
     "grunt-shell": "1.1.1",
@@ -24,7 +24,7 @@
24 24
     "grunt-karma": "0.10.1",
25 25
     "jasmine-core": "^2.2.0",
26 26
     "karma": "0.12.31",
27
-    "karma-chrome-launcher": "0.1.7",
27
+    "karma-chrome-launcher": "0.1.12",
28 28
     "karma-cli": "0.0.4",
29 29
     "karma-jasmine": "0.3.5",
30 30
     "karma-phantomjs-launcher": "0.1.4",

Loading…
Cancel
Save