Skip to content

Commit

Permalink
chore(test): fix browser config (Semantic-Org#2269)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored Oct 29, 2017
1 parent 4d28298 commit ae0174f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion karma.conf.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const formatError = (msg) => {
export default (karmaConfig) => {
karmaConfig.set({
basePath: process.cwd(),
browsers: ['ChromeHeadless'],
browsers: ['puppeteer'],
client: {
mocha: {
reporter: 'html', // change Karma's debug.html to mocha web reporter
Expand All @@ -47,6 +47,8 @@ export default (karmaConfig) => {
puppeteer: {
base: 'ChromeHeadless',
flags: [
'--disable-setuid-sandbox',
'--no-sandbox',
// Avoid "Maximum call stack size exceeded" errors on CircleCI
'--stack-trace-limit 50000',
],
Expand Down

0 comments on commit ae0174f

Please sign in to comment.