// Sample Karma configuration file, that contain pretty much all the available options// It's used for running client tests on Travis (http://travis-ci.org/#!/karma-runner/karma)// Most of the options can be overriden by cli arguments (see karma --help)//// For all available config options and default values, see:// https://github.com/karma-runner/karma/blob/stable/lib/config.js#L54// base path, that will be used to resolve files and excludebasePath='';frameworks=['jasmine'];// list of files / patterns to load in the browserfiles=['spec/*.spec.js'];// list of files to excludeexclude=[];// web server port// CLI --port 9876port=9876;// cli runner port// CLI --runner-port 9100runnerPort=9100;// enable / disable colors in the output (reporters and logs)// CLI --colors --no-colorscolors=true;// level of logging// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG// CLI --log-level debuglogLevel=LOG_INFO;// enable / disable watching file and executing tests whenever any file changes// CLI --auto-watch --no-auto-watchautoWatch=false;// Start these browsers, currently available:// - Chrome// - ChromeCanary// - Firefox// - Opera// - Safari (only Mac)// - PhantomJS// - IE (only Windows)// CLI --browsers Chrome,Firefox,Safaribrowsers=['PhantomJS'];// If browser does not capture in given timeout [ms], kill it// CLI --capture-timeout 5000captureTimeout=10000;// Auto run tests on start (when browsers are captured) and exit// CLI --single-run --no-single-runsingleRun=true;// report which specs are slower than 500ms// CLI --report-slower-than 500reportSlowerThan=500;// compile coffee scriptspreprocessors={'**/*.coffee':'coffee'};plugins=['karma-jasmine','karma-chrome-launcher','karma-firefox-launcher','karma-phantomjs-launcher','karma-junit-reporter']
INFO [karma]: Karma v0.9.2 server started at http://localhost:9876/
INFO [launcher]: Starting browser PhantomJS
ERROR [karma]: {[Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn'}Error: spawn ENOENT
at errnoException (child_process.js:977:11) at Process.ChildProcess._handle.onexit (child_process.js:768:34)
INFO [launcher]: Starting browser PhantomJS
DEBUG [launcher]: Creating temp dir at C:\Users\bowen\AppData\Local\2\karma-28747846
DEBUG [launcher]: C:\Program Files\PhantomJS\phamtomjs.exe C:\Users\bowen\AppData\Local\2\karma-28747846capture.js
INFO [karma]: To run via this server, use "karma run --runner-port 9101"ERROR [karma]: {[Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn'}Error: spawn ENOENT