Skip to content

Releases: rolaveric/karma-systemjs

v0.16.0

25 Nov 10:03
Compare
Choose a tag to compare

SystemJS bundles are now disabled unless useBundles: true is set in the systemjs config for Karma. (#85)

0.13.0

23 Mar 11:33
Compare
Choose a tag to compare
  • Changed file pattern for transpiler to included: false and served: true, forcing SystemJS to load it. Fixes #73

0.10.0

13 Dec 12:15
Compare
Choose a tag to compare
  • Fixed issue when using includeFiles #56
  • Added support for transpiler: "none"
  • Changed default path to babel's browser.js

0.9.0

31 Oct 23:12
Compare
Choose a tag to compare

Possible breaking change:
Arrays in SystemJS config file are overwritten by arrays in karma config, rather than merged.
Discussion
2c87b0f

0.8.2

30 Oct 09:44
Compare
Choose a tag to compare

Minor release

  • SystemJS config now encoded as JSON when transferred from the framework (server) to the adapter (browser) 65eb0d8 #44
  • Absolute paths from the SystemJS config are now correctly prefixed with /base/ dd1848b #53

0.8.1

30 Oct 08:43
Compare
Choose a tag to compare

Minor update

  • Added systemjs.includeFiles config option for files that you really, truly, honestly just want included as script tags - not through System.import() 820b421
  • Handles file paths which fall outside the Karma basePath, meaning they get served from /absolute/* instead of /base/* 92bf6ff

0.8.0

06 Sep 00:54
Compare
Choose a tag to compare

This release changes how karma-systemjs picks files to be imported.

It now looks for all patterns from files in the Karma config where {included: true} (Which is the default if only a string is provided) and calls System.import() for all files that match those patterns.

If you have files that you only want to serve but not immediately import, you can add patterns for them to systemjs.serveFiles in the Karma config.

{
  // Import all my test files by default
  "files": [
    "test/**/*.js"
  ],

  systemjs: {
    // Serve source code and libraries for tests to import
    serveFiles: [
      "src/**/*.js",
      "lib/**/*.js"
    ]
  }
}

0.8.0-beta2

22 Aug 23:12
Compare
Choose a tag to compare
0.8.0-beta2 Pre-release
Pre-release

This release changes how karma-systemjs picks files to be imported.

It now looks for all patterns from files in the Karma config where {included: true} (Which is the default if only a string is provided) and calls System.import() for all files that match those patterns.

If you have files that you only want to serve but not immediately import, you can add patterns for them to systemjs.serveFiles in the Karma config.

{
  // Import all my test files by default
  "files": [
    "test/**/*.js"
  ],

  systemjs: {
    // Serve source code and libraries for tests to import
    serveFiles: [
      "src/**/*.js",
      "lib/**/*.js"
    ]
  }
}