🦑 Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack.
--chrome-data-dir
option (#8, thanks @songawee!)istanbul
plugin to your Babel configuration.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)
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)
karmatic watch --browsers firefox
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
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.
node
configuration
.webpackConfig
option for manually passing webpack configuration.To be used by Neutrino: https://twitter.com/_developit/status/955969121149161473
UglifyJsPlugin
, HTMLWebpackPlugin
& ExtractTextPlugin