Add --no-sandbox flag to Karma test
This commit is contained in:
parent
c168413a8e
commit
45931dc856
2 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "karma start --browsers ChromeHeadless",
|
||||
"test": "karma start --single-run --browsers ChromeHeadless",
|
||||
"test": "karma start --single-run --browsers ChromeNoSandbox",
|
||||
"test:node": "JASMINE_CONFIG_PATH=static/test/jasmine.json jasmine-ts './static/js/**/*.spec.ts'",
|
||||
"e2e": "ts-node ./node_modules/.bin/protractor static/test/protractor.conf.ts",
|
||||
"build": "npm run clean && NODE_ENV=production webpack --progress",
|
||||
|
|
Reference in a new issue