Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const babelOptions = {
- presets: [["env", { targets: { node: "8" } }], "react"],
- plugins: [
- [
- "transform-react-jsx",
- {
- pragma: "h"
- }
- ]
- ]
- };
- module.exports = require("babel-jest").createTransformer(babelOptions);
Add Comment
Please, Sign In to add comment