Skip to content

[compiler] Support for non-declatation for in/of iterators #625

[compiler] Support for non-declatation for in/of iterators

[compiler] Support for non-declatation for in/of iterators #625

Triggered via push December 9, 2024 22:00
Status Success
Total duration 4m 8s
Artifacts 1
Test playground
3m 52s
Test playground
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 1 notice
[chromium] › page.spec.ts:125:7 › directives work: function-scope-beats-module-scope: compiler/apps/playground/__tests__/e2e/page.spec.ts#L141
1) [chromium] › page.spec.ts:125:7 › directives work: function-scope-beats-module-scope ────────── Error: Snapshot comparison failed: function TestComponent(t0) { "use memo"; const $ = _c(2); const { x } = t0; let t1; if ($[0] !== x) { t1 = <Button>{x}</Button>; $[0] = x; $[1] = t1; } else { t1 = $[1]; } return t1; }; Expected: /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/function-scope-beats-module-scope-output.txt Received: /home/runner/work/react/react/compiler/apps/playground/test-results/page-directives-work-function-scope-beats-module-scope-chromium/function-scope-beats-module-scope-output-actual.txt 139 | 140 | expect(output).not.toEqual(''); > 141 | expect(output).toMatchSnapshot(`${t.name}-output.txt`); | ^ 142 | }), 143 | ); 144 | at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:141:20
Test playground
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see /~https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky [chromium] › page.spec.ts:125:7 › directives work: function-scope-beats-module-scope ─────────── 7 passed (2.5m)

Artifacts

Produced during runtime
Name Size
test-results
863 KB