Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 20, 2024
1 parent a257700 commit 505c1f0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
function e(){return React.createElement(React.Fragment,null,React.createElement("div",null,"hello"),React.createElement("h1",null,"yep"))}export{e as default};
function e(){return /*#__PURE__*/React.createElement(React.Fragment,null,/*#__PURE__*/React.createElement("div",null,"hello"),/*#__PURE__*/React.createElement("h1",null,"yep"))}export{e as default};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{jsxs as e,Fragment as r,jsx as i}from"react/jsx-runtime";function n(){return e(r,{children:[i("div",{children:"hello"}),i("h1",{children:"yep"})]})}export{n as default};
import{jsxs as e,Fragment as r,jsx as i}from"react/jsx-runtime";function n(){return /*#__PURE__*/e(r,{children:[/*#__PURE__*/i("div",{children:"hello"}),/*#__PURE__*/i("h1",{children:"yep"})]})}export{n as default};
2 changes: 1 addition & 1 deletion test/compile/jsx/__snapshot__/jsx.min.js.snapshot
Original file line number Diff line number Diff line change
@@ -1 +1 @@
function e(){return React.createElement(React.Fragment,null,React.createElement("div",null,"hello"),React.createElement("h1",null,"yep"))}export{e as default};
function e(){return /*#__PURE__*/React.createElement(React.Fragment,null,/*#__PURE__*/React.createElement("div",null,"hello"),/*#__PURE__*/React.createElement("h1",null,"yep"))}export{e as default};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"use client";function e(){return React.createElement("p",{className:"foo"},"foo")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(".foo{transform-origin:center}");export{e as default};
"use client";function e(){return /*#__PURE__*/React.createElement("p",{className:"foo"},"foo")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(".foo{transform-origin:center}");export{e as default};
2 changes: 1 addition & 1 deletion test/compile/tsx/__snapshot__/tsx.min.js.snapshot
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import e from"react";function t(){return e.createElement("div",null,"hello")}export{t as default};
import e from"react";function t(){return /*#__PURE__*/e.createElement("div",null,"hello")}export{t as default};

0 comments on commit 505c1f0

Please sign in to comment.