Skip to content
Snippets Groups Projects
Select Git revision
  • 800c452fa1b16dcdd19f977c14970aa25b2fe20d
  • main default protected
  • develop
3 results

README.md

Blame
  • karma.common.conf.js 766 B
    module.exports = function(config) {
        config.set({
          basePath: 'dist',
          frameworks: ['mocha'],
          client: {
            mocha: {
              ui: 'tdd',
              timeout: 2000 * (process.env.CI === undefined ? 1 : 10)
            },
          },
          files: [
            {pattern: './*.js', included: true, watched: true, served: true, type: 'module'},
            {pattern: './**/*', included: false, watched: true, served: true},
          ],
          autoWatch: true,
          browsers: [
            'ChromiumHeadlessNoSandbox',
            'FirefoxHeadless',
          ],
          customLaunchers: {
            ChromiumHeadlessNoSandbox: {
              base: 'ChromiumHeadless',
              flags: ['--no-sandbox']
            }
          },
          singleRun: false,
          logLevel: config.LOG_ERROR
        });
    }