Skip to content

feat: inline constant tag transformation #216

feat: inline constant tag transformation

feat: inline constant tag transformation #216

Triggered via pull request May 6, 2024 12:50
Status Failure
Total duration 57s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 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 return <div><a…' to deeply equal 'const Foo = () => {\n return <div><d…' - Expected + Received const Foo = () => { - return <div><div key="b">bar</div><div key={c}>baz</div></div>; + return <div><a key="b">bar</a><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
packages/unminify/src/transformations/__tests__/un-jsx.spec.ts > jsx with dynamic Component tag #6: packages/unminify/src/transformations/__tests__/un-jsx.spec.ts#L244
AssertionError: expected 'function fn() {\n const attrs = {id:…' to deeply equal 'function fn() {\n const attrs = {id:…' - Expected + Received function fn() { const attrs = {id: "x"}; - return <div {...attrs} />; + return <Name {...attrs} />; } ❯ packages/unminify/src/transformations/__tests__/un-jsx.spec.ts:244:1 ❯ packages/test-utils/src/index.ts:32:22
check
Process completed with exit code 1.