Update karma.conf.js
authorscardinius <scardinius@users.noreply.github.com>
Tue, 26 May 2015 10:33:33 +0000 (12:33 +0200)
committerscardinius <scardinius@users.noreply.github.com>
Tue, 26 May 2015 10:33:33 +0000 (12:33 +0200)
karma.conf.js

index eada18ded519964e83d60c5e5d179d07534fd613..b04979c74437691c26af68d838772ac56cae603b 100644 (file)
@@ -1,7 +1,18 @@
 module.exports = function(config) {
   config.set({
     autoWatch: true,
-    browsers: ['PhantomJS'],
+    browsers: ['PhantomJS', 'PhantomJS_custom'],
+    customLaunchers: {
+      'PhantomJS_custom': {
+        base: 'PhantomJS',
+        options: {
+            windowName: 'my-window',
+            settings: {
+                webSecurityEnabled: false
+            }
+        }
+      }
+    },
     exclude: [
     ],
     files: [