eventric
Version:
behavior-first application development
62 lines (46 loc) • 1.28 kB
text/coffeescript
# 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 vendor files
'build/helper/spec/vendor.js'
# spec setup
'build/src/setup.spec.js'
# specs
'build/src/**/*.spec.js'
]
# list of files to exclude
exclude: [
]
# 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-spec-reporter'
]