@ava/babel-preset-transform-test-files

Babel preset for use with AVA test files

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
30Mar 9, 2020Jan 18, 2017Minified + gzip package size for @ava/babel-preset-transform-test-files in KB

Readme

@ava/babel-preset-transform-test-files Build Status

Babel preset for use with AVA test files

Currently contains:

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", {"powerAssert": 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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.