Sha256: 957a43e156c8172b5900db9bf7c976704da5e37bce3b036c9cf5619250f29c36
Contents?: true
Size: 1.06 KB
Versions: 55
Compression:
Stored size: 1.06 KB
Contents
const karmaReporters = ['mocha-clean']; function isDebug(argument) { return argument === '--debug'; } module.exports = function(config) { config.set({ mode: 'development', basePath: '', frameworks: ['mocha', 'chai-sinon'], files: [ 'app/assets/javascripts/**/*.js', 'test/javascripts/**/*test.js', ], exclude: [ // Exclude JS files that create 'DOMContentLoaded' event listeners 'app/assets/javascripts/**/redirect.js', 'app/assets/javascripts/**/storage_access_redirect.js', 'app/assets/javascripts/**/top_level_interaction.js', 'app/assets/javascripts/**/partition_cookies.js', ], mochaReporter: { output: 'autowatch', }, preprocessors: { 'test/javascripts/**/*test.js': ['webpack'], }, webpack: {}, reporters: karmaReporters, port: 9876, colors: true, logLevel: config.LOG_WARN, autoWatch: false, browsers: ['ChromeHeadless'], singleRun: true, client: { mocha: { ui: 'tdd', grep: config.grep, }, }, }); };
Version data entries
55 entries across 55 versions & 2 rubygems