MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / testTransform

Function testTransform

packages/main/src/babel/babel.test.ts:36–45  ·  view source on GitHub ↗
(
    name: string,
    src: string,
    expected: string,
    plugin: babel.PluginObj<any>,
)

Source from the content-addressed store, hash-verified

34}
35
36function testTransform(
37 name: string,
38 src: string,
39 expected: string,
40 plugin: babel.PluginObj<any>,
41): void {
42 test.test(name, () => {
43 assertTransform(src, expected, plugin)
44 })
45}
46
47
48const setLocationImport = `import { getOwner as ${plugin.SDT_GET_OWNER} } from "solid-js";`

Callers 1

babel.test.tsFile · 0.85

Calls 1

assertTransformFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…