UNPKG

@clea/cli

Version:

CLI tool for AngularJS & Typescript projects

34 lines (33 loc) 857 B
module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine'], plugins: [ require('karma-webpack'), require('karma-sourcemap-loader'), require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-spec-reporter'), require('karma-jasmine-html-reporter') ], client: { clearContext: false // leave Jasmine Spec Runner output visible in browser }, reporters: ['kjhtml', 'spec'], specReporter: { maxLogLines: 5, suppressErrorSummary: true, suppressFailed: false, suppressPassed: false, suppressSkipped: true, showSpecTiming: false }, port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], singleRun: false, restartOnFileChange: true }); };