diff options
Diffstat (limited to 'portal-FE-os/src/karma.conf.js')
-rw-r--r-- | portal-FE-os/src/karma.conf.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/portal-FE-os/src/karma.conf.js b/portal-FE-os/src/karma.conf.js index b6e00421..154ad588 100644 --- a/portal-FE-os/src/karma.conf.js +++ b/portal-FE-os/src/karma.conf.js @@ -1,6 +1,7 @@ // Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html +process.env.CHROME_BIN = require('puppeteer').executablePath() module.exports = function (config) { config.set({ basePath: '', @@ -10,6 +11,7 @@ module.exports = function (config) { require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), + require('karma-phantomjs-launcher'), require('@angular-devkit/build-angular/plugins/karma') ], client: { @@ -25,7 +27,7 @@ module.exports = function (config) { colors: true, logLevel: config.LOG_INFO, autoWatch: true, - browsers: ['Chrome'], + browsers: ['ChromeHeadless'], singleRun: false }); };
\ No newline at end of file |