Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/developit/htm
/ babel-transform-jsx.test.mjs
File
babel-transform-jsx.test.mjs
test/babel-transform-jsx.test.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ transform } from
'@babel/core'
;
2
import
transformJsxToHtmPlugin from
'babel-plugin-transform-jsx-to-htm'
;
3
4
function
compile(code, { plugins = [], ...options } = {}) {
Callers
nothing calls this directly
Calls
3
describe
Function · 0.85
test
Function · 0.85
compile
Function · 0.85
Tested by
no test coverage detected