UNPKG

eventric

Version:

Build JavaScript applications with Behaviour-driven Domain Design. Based on DDD, BDD, CQRS and EventSourcing.

72 lines (54 loc) 1.52 kB
# Karma configuration module.exports = (config) -> config.set # base path, that will be used to resolve files and exclude basePath: '' # list of files / patterns to load in the browser files: [ # source 'build/dist/eventric.js' # spec helper 'build/spec/helper.js' # specs 'spec/helper/setup.coffee' 'src/**/*.spec.coffee' ] # list of files to exclude exclude: [ ] # compile coffee scripts and wrap into commonjs preprocessors: 'spec/**/*.coffee': ['coffee'] 'src/**/*.coffee': ['coffee'] coffeePreprocessor: options: sourceMap: true # web server port port: 9876 # enable / disable colors in the output (reporters and logs) colors: yes # level of logging # possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG logLevel: config.LOG_INFO # enable / disable watching file and executing tests whenever any file changes autoWatch: no # Start these browsers, currently available: # - Chrome # - ChromeCanary # - Firefox # - Opera # - Safari # - PhantomJS browsers: ['PhantomJS'] # Continuous Integration mode # if true, it capture browsers, run tests and exit singleRun: yes reporters: ['spec'] frameworks: ['mocha'] plugins: [ 'karma-mocha' 'karma-phantomjs-launcher' 'karma-chrome-launcher' 'karma-spec-reporter' 'karma-coffee-preprocessor' ]