Skip to content

Don't override ref property when not configured to. #1236

Don't override ref property when not configured to.

Don't override ref property when not configured to. #1236

Triggered via pull request August 21, 2025 13:56
Status Failure
Total duration 2m 35s
Artifacts 1

test.yml

on: pull_request
Matrix: Build and run test Suite
Matrix: Check package config with are-the-types-wrong
Matrix: test-dist
Matrix: test-published-artifact-local
Matrix: test-published-artifact
Matrix: test-types
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Test Published Artifact expo
Process completed with exit code 1.
Run local tests against build artifact (React ^18)
Process completed with exit code 1.
test/components/connect.spec.tsx > React > connect > Refs > should not override ref property when not asked to.: test/components/connect.spec.tsx#L2608
AssertionError: expected null to be an instance of HTMLSpanElement ❯ test/components/connect.spec.tsx:2608:33
Unhandled error: test/components/connect.spec.tsx#L2599
TypeCheckError: Type 'Ref<HTMLSpanElement | null>' is not assignable to type 'LegacyRef<HTMLSpanElement> | undefined'. Type 'RefObject<HTMLSpanElement | null>' is not assignable to type 'LegacyRef<HTMLSpanElement> | undefined'. Type 'RefObject<HTMLSpanElement | null>' is not assignable to type 'RefObject<HTMLSpanElement>'. Type 'HTMLSpanElement | null' is not assignable to type 'HTMLSpanElement'. Type 'null' is not assignable to type 'HTMLSpanElement'. ❯ test/components/connect.spec.tsx:2599:24

Artifacts

Produced during runtime
Name Size Digest
package
189 KB
sha256:6f6c7184b4d9a2985fce7018424439dbf1fe3de75d36b9d823bccfaf685f12c5