Skip to content

feat: inline constant tag transformation #202

feat: inline constant tag transformation

feat: inline constant tag transformation #202

Triggered via pull request May 1, 2024 08:27
Status Failure
Total duration 58s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
packages/unminify/src/transformations/__tests__/un-jsx.spec.ts > jsx with dynamic Component tag #3: packages/unminify/src/transformations/__tests__/un-jsx.spec.ts#L188
AssertionError: expected 'const Foo = () => {\n const Componen…' to deeply equal 'const Foo = () => {\n const Componen…' - Expected + Received const Foo = () => { const Component = g ? "p" : "div"; const Component_1 = r ? "a" : "div"; - return <div><div key="b">bar</div><div key={c}>baz</div></div>; + return <div><div key="b">bar</div><div key={c}>baz</div></div>; }; ❯ packages/unminify/src/transformations/__tests__/un-jsx.spec.ts:188:1 ❯ packages/test-utils/src/index.ts:32:22
check
Process completed with exit code 1.