Karmatic Versions Save

🦑 Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack.

2.0.0

3 years ago
  • Breaking: switch from Jasmine to Jest's extended expect assertion module (#31)
  • Add --chrome-data-dir option (#8, thanks @songawee!)

1.4.0

4 years ago
  • Upgrades to the latest versions of Karma, Jasmine, etc. (thanks @Weetbix!)
  • Code Coverage updated: may require adding the istanbul plugin to your Babel configuration.
  • Fixed test harness failing in Safari 10.1 (see upstream bug)

1.3.1

4 years ago
  • Fixes the identifier for Edge on SauceLabs

1.3.0

5 years ago

🦟 Better Debugging

A new karmatic debug command wraps up a few important flags into one easy to remember debug mode. In this mode, coverage is not reported and Chrome is opened in "headful" mode for visual inspection. (#27, thanks @andrewiggins)

🙈 Coverage Reporting

Code coverage reports in HTML and JSON format are now generated by default in a coverage directory. You can also disable these by passing --no-coverage. (#26, thanks @andrewiggins)

🕸 Custom Browsers

karmatic watch --browsers firefox

🧭 Built-in support for SauceLabs

Set the SAUCE_USERNAME and SAUCE_ACCESS_KEY env vars, then pass saucelabs browser/platform combinations to the new --browsers option:

SAUCE_USERNAME=developit SAUCE_ACCESS_KEY=123456 karmatic --browsers sauce-ie-11,sauce-ie-10

🌶 Modern JS

karmatic now transpiles for modern browsers only (last 2 versions of Chrome + Firefox + Safari). Don't worry though - it'll still transpile down to ES5 if --browsers includes "ie" or "internet explorer", or if the --downlevel flag is set.

1.2.0

5 years ago
  • Karmatic now supports Webpack 4! (and still older versions of Webpack, don't worry)
  • Fixed a little publishing hiccup & reduce the package size

1.0.7

5 years ago
  • Add support for webpack configuration files that export a function instead of an object
  • Fixes a bug where a bunch of webpack configuration properties would be ignored/overwritten
  • Respect any existing webpack node configuration

1.0.6

6 years ago
  • Fix incorrect processing of tests in a repo root / cwd
  • Fix unindented error pretty-printing

1.0.5

6 years ago
  • Exclude babel minify from plugins (thanks @eliperelman)
  • Include library aliasing for loaders too (only useful if you're building a webpack loader)

1.0.4

6 years ago
  • Add a .webpackConfig option for manually passing webpack configuration.

To be used by Neutrino: https://twitter.com/_developit/status/955969121149161473

1.0.3

6 years ago
  • Avoid duplicating loaders if already present a detected webpack config
  • Bugfix for file path pattern generation
  • Always exempt these plugins: UglifyJsPlugin, HTMLWebpackPlugin & ExtractTextPlugin