UNPKG

react-unit-test-generator

Version:

react-unit-test-generator is a helper for writing unit tests for React apps. Its main goal is to automatically generate a suite of the most common test cases for a given component.

13 lines (12 loc) 326 B
module.exports = function(api) { api.cache(true); return { plugins: [ 'transform-es2015-modules-commonjs', '@babel/plugin-proposal-class-properties', '@babel/plugin-syntax-dynamic-import', 'dynamic-import-webpack', ], presets: ['@babel/env', '@babel/preset-react'], }; };