.. | ||
espower-patterns.json | ||
index.js | ||
license | ||
package.json | ||
readme.md |
@ava/babel-preset-transform-test-files
Currently contains:
babel-plugin-espower
and the patterns that should be enhanced@ava/babel-plugin-throws-helper
Install
$ npm install --save @ava/babel-preset-transform-test-files
Usage
Add @ava/transform-test-files
to your Babel presets. You can disable babel-plugin-espower
by setting the powerAssert
option to false
:
{
"presets": [
["@ava/transform-test-files", {"powerAsssert": false}]
]
}
Require @ava/babel-preset-transform-test-files/package-hash
to get a combined hash for the installed version of the preset, as well as the plugins used.