Skip to content

Karma + RequireJs is hanging. #9

Description

@vijtad

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

});
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions