MMCT TEAM
1Server IP : 217.21.90.164  /  Your IP : 216.73.216.51
Web Server : LiteSpeed
System : Linux in-mum-web840.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u367232671 ( 367232671)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u367232671/public_html/css/summernote-develop/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u367232671/public_html/css/summernote-develop/karma.conf.js
var webpackConfig = require('./config/webpack.config.dev.js');

module.exports = function (config) {
  config.set({
    frameworks: ['mocha', 'detectBrowsers', ],
    colors: true,
    logLevel: config.LOG_INFO,

    files: [
      'node_modules/jquery/dist/jquery.js',
      { pattern: 'src/js/**/*.js' },
      { pattern: 'test/**/*.spec.js' }
    ],

    detectBrowsers: {
      enabled: true,
      usePhantomJS: false,
      preferHeadless: true,
      postDetection: function(availableBrowsers) {
        return (config.browsers.length === 0) ? availableBrowsers.slice(0, 1) : [];
      }
    },

    preprocessors: {
      'src/js/**/*.js': ['webpack', ],
      'test/**/*.spec.js': ['webpack', ],
    },

    webpack: webpackConfig,
    webpackMiddleware: {
      stats: 'errors-only',
    },

    reporters: ['dots'],
    coverageReporter: {
      type: 'lcov',
      dir: 'coverage/',
      includeAllSources: true
    },
    browserNoActivityTimeout: 60000,
  });
};

MMCT - 2023