Constellation / ibrik

CoffeeScript meets Istanbul - code coverage tool for CoffeeScript
BSD 2-Clause "Simplified" License
79 stars 32 forks source link

Karma + RequireJs is hanging. #9

Open vijtad opened 10 years ago

vijtad commented 10 years ago

I am using Karma@0.11.5 and my config is as follows which is hanging. It works fine without requirejs framework.

module.exports = function(config) { config.set({ basePath: '', autoWatch: true, frameworks: ['jasmine','requirejs'], files: [

  {pattern: '**/nonRequire/*.js', included: true},
  {pattern: '**/require/*.js', included: false},
  'test/spec/*.js'
],
browsers: ['PhantomJS'],

reporters: ['progress', 'coverage'],
preprocessors: { '*.js': ['coverage'] },

coverageReporter : {
    type : 'html',
    dir : 'coverage/'
},

singleRun: true

}); };