|
|
@@ -31,7 +31,13 @@ module.exports = function(config) {
|
|
|
//load karma-jasmine-dom and karma-jasmine
|
|
|
frameworks: ['jasmine-dom','jasmine','mocha', 'chai'],
|
|
|
//load karma-chrome-launcher
|
|
|
- browsers: ['ChromeHeadless'],
|
|
|
+ browsers: ['ChromeHeadless', 'NoSandBoxHeadless'],
|
|
|
+ customLaunchers: {
|
|
|
+ NoSandBoxHeadless: {
|
|
|
+ base: 'ChromeHeadless',
|
|
|
+ flags: ['--no-sandbox']
|
|
|
+ }
|
|
|
+ },
|
|
|
logLevel: config.LOG_INFO,
|
|
|
client: {
|
|
|
//If false, Karma will not remove iframes upon the completion of running the tests
|
|
|
@@ -43,7 +49,6 @@ module.exports = function(config) {
|
|
|
//the 'index' tag will be used to get the access to the Document object of 'index.html'
|
|
|
{src:'./publish/http-spec.html', tag:'httpspec'}
|
|
|
],
|
|
|
- auto: true,
|
|
|
timeout: 10000,
|
|
|
abort: 60000,
|
|
|
width: "730px",
|