Skip to content

Instantly share code, notes, and snippets.

@pureooze
Created August 16, 2018 03:23
const babelOptions = {
presets: [["env", { targets: { node: "8" } }], "react"],
plugins: [
[
"transform-react-jsx",
{
pragma: "h"
}
]
]
};
module.exports = require("babel-jest").createTransformer(babelOptions);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment