Created
September 18, 2014 22:46
-
-
Save eddiemonge/7463c64768618afbfb27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wiredep = require( 'wiredep' ) | |
path = require 'path' | |
# Karma configuration | |
module.exports = ( config ) -> | |
config.set | |
# enable / disable watching file and executing tests whenever any file changes | |
autoWatch: true | |
# base path, that will be used to resolve files relative to this file | |
basePath: '../' | |
# Run the tests automatically in these browsers: | |
# Specify in your ../faspex.json file which browsers to run in | |
browsers: [ 'PhantomJS' ] | |
# The files to include in the test | |
files: wiredep( devDependencies: true )[ 'js' ].map ( file ) -> | |
path.relative process.cwd(), file | |
.concat [ | |
'test/unit-mock/**/*.coffee' | |
'app/**/*.coffee' | |
'test/unit/**/*.coffee' | |
] | |
# The testing framework to use | |
frameworks: [ 'jasmine' ] | |
preprocessors: '**/*.coffee': [ 'coffee' ] | |
reporters: [ 'spec' ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment