     # The karma-jspm option specifying the files to dynamically
     # load via SystemJS.
     jspm:
+      config: 'jspm.config.js',
       loadFiles: ['test/unit/**/*.spec.*'],
-      serveFiles: ['src/**/*.*'],
+      serveFiles: ['src/**/*.*', 'tsconfig.json', 'typings/**/*.d.ts'],
       stripExtension: false
 
     # Print messages.

module.exports = (config) ->
  config.set
    # The base path to resolve files is the top-level qiprofile
    # directory.
    basePath: '../..'
    
    # The karma adapter frameworks to use.
    frameworks: ['jspm', 'traceur', 'mocha', 'chai']

    # By default, karma loads node_modules sibling karma-* plug-ins.
    # However, note that the plug-ins must be installed as siblings


    # The test specs can be written in CoffeeScript or TypeScript. 
    preprocessors:
      '**/*.spec.coffee': 'coffee'
      '**/*.spec.ts': 'typescript'

    # The files to load is empty since karma-jspm assumes that responsibility.
    files: []

    # The test results reporter.
    # Possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
