Skip to content

Will not serve files after update to beta #95

@togakangaroo

Description

@togakangaroo

I have the following config file

module.exports = function(config) {
  config.set({
    basePath: 'Scripts',
    browserNoActivityTimeout: 30000, //necessary for build server to not vomit
    frameworks: ['mocha', 'chai', 'jspm'],
    browsers: ['Chrome'],
    autoWatch: true,
    jspm: {
      useBundles: true,
      loadFiles: ['tests/*.specs.js'],
      serveFiles: ['**/*.js'],
    },
    reporters: ['mocha', 'growl', 'nunit'],
    proxies: {
    },
    mocha: {
      timeout: 10000,
    },
    client: {
      timeout: 900,
    },
    nunitReporter: {
      outputFile: 'client.test.results.xml',
      suite: '',
    },
  });
};

All my tests (In /Scripts/tests/*.specs.js) worked fine on previous karma-jspm versions. But as of updating jspm to beta.3 (necessary to address this issue) I hit the karma-jspm baseUrl error. So I tried updating karma-jspm to 2.0.1-beta.2 but now all routes to all scripts (specs and regular, loaded via Systemjs or directly via the url bar) are 404'ing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions