Skip to content

Commit

Permalink
Merge 90b5d03 into 03b71da
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisPrescott707 committed May 17, 2020
2 parents 03b71da + 90b5d03 commit ad5ceb1
Show file tree
Hide file tree
Showing 7 changed files with 240 additions and 229 deletions.
9 changes: 5 additions & 4 deletions examples/karma/jasmine/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Karma configuration
// Generated on Thu Nov 20 2014 14:51:15 GMT+1100 (AEDT)
var path = require("path")
process.env.CHROME_BIN = require("puppeteer").executablePath()

module.exports = function(config) {
config.set({
Expand Down Expand Up @@ -61,12 +62,12 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["PhantomJS_without_security"],
browsers: ["Chrome_without_security"],

customLaunchers: {
PhantomJS_without_security: {
base: "PhantomJS",
flags: ["--web-security=no"],
Chrome_without_security: {
base: "ChromeHeadless",
flags: ["--disable-web-security", "--disable-site-isolation-trials"],
},
},

Expand Down
9 changes: 5 additions & 4 deletions examples/karma/mocha/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Karma configuration
// Generated on Thu Nov 20 2014 14:51:15 GMT+1100 (AEDT)
var path = require("path")
process.env.CHROME_BIN = require("puppeteer").executablePath()

module.exports = function(config) {
config.set({
Expand Down Expand Up @@ -62,12 +63,12 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["PhantomJS_without_security"],
browsers: ["Chrome_without_security"],

customLaunchers: {
PhantomJS_without_security: {
base: "PhantomJS",
flags: ["--web-security=no"],
Chrome_without_security: {
base: "ChromeHeadless",
flags: ["--disable-web-security", "--disable-site-isolation-trials"],
},
},

Expand Down
Loading

0 comments on commit ad5ceb1

Please sign in to comment.