Skip to content
Snippets Groups Projects
Select Git revision
  • e39b4964f590f17d324815c5599b476f13aeb65e
  • main default protected
  • demo protected
  • master
  • icon-set-mapping
  • production protected
  • revert-62666d1a
  • favorites-and-recent-files
  • lit2
  • wc-part
  • mark-downloaded-files
  • feature/annotpdf-test
  • fix-zip-upload
  • config-cleanup
  • wip
  • app-shell-update
16 results

karma.conf.js

Blame
  • karma.conf.js 632 B
    module.exports = function(config) {
      config.set({
        basePath: 'dist',
        frameworks: ['mocha'],
        client: {
          mocha: {
            ui: 'tdd',
          },
        },
        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
      });
    }