Skip to content

Commit

Permalink
test: revise test layout
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Aug 31, 2020
1 parent e259994 commit e166df3
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 33 deletions.
@@ -0,0 +1 @@
// empty
@@ -0,0 +1,6 @@
{
"plugins": [
"./plugin.js",
["transform-react-jsx-development", { "runtime": "automatic" }]
]
}
@@ -0,0 +1,6 @@
// empty

var _reactJsxDevRuntime = require("react/jsx-dev-runtime");

/*#__PURE__*/
_reactJsxDevRuntime.jsxDEV("div", {}, void 0, false, void 0, this)
@@ -0,0 +1,18 @@
module.exports = function ({ types: t }) {
return {
visitor: {
Program: {
enter(path) {
path.pushContainer(
"body",
t.JSXElement(
t.JSXOpeningElement(t.JSXIdentifier("div"), [], false),
t.JSXClosingElement(t.JSXIdentifier("div")),
[],
),
);
},
},
},
};
};

This file was deleted.

0 comments on commit e166df3

Please sign in to comment.