Releases: karma-runner/karma
Releases · karma-runner/karma
v0.9.7
v0.9.6
v0.9.5
Bug Fixes
- init: generate config with the new syntax (6b27fee)
- reporter: prevent throwing exception when null is sent to formatter (3b49c38)
- watcher: ignore fs.stat errors (74ccc9a)
- better serialization in dump/console.log (fd46365), closes #640
- browsers_change event always has collection as arg (42bf787)
- detect a full page reload, show error and recover (15d80f4), closes #27
Features
v0.9.4
Bug Fixes
- config: allow parsing the config multiple times (78a7094)
- config: better errors if file invalid or does not exist (74b533b)
- config: make the config changes backwards compatible (593ad85)
- launcher: better errors when loading launchers (504e848)
- preprocessor: better errors when loading preprocessors (3390a00)
- preprocessor: do not show duplicate warnings (47c641f)
- reporter: better errors when loading reporters (c645c06)
Features
- config: pass the config object rather than a wrapper (d2a3c85)
BREAKING CHANGES
- please update your karma.conf.js as follows:
// before:
module.exports = function(karma) {
karma.configure({port: 123});
karma.defineLauncher('x', 'Chrome', {
flags: ['--disable-web-security']
});
karma.definePreprocessor('y', 'coffee', {
bare: false
});
karma.defineReporter('z', 'coverage', {
type: 'html'
});
};
// after:
module.exports = function(config) {
config.set({
port: 123,
customLaunchers: {
'x': {
base: 'Chrome',
flags: ['--disable-web-security']
}
},
customPreprocessors: {
'y': {
base: 'coffee',
bare: false
}
},
customReporters: {
'z': {
base: 'coverage',
type: 'html'
}
}
});
};