Skip to content

test: migrate react tests to vitest #1353

test: migrate react tests to vitest

test: migrate react tests to vitest #1353

Triggered via pull request July 3, 2025 15:56
Status Failure
Total duration 1m 25s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
tests
Process completed with exit code 2.
tests: packages/react/test/shared/updates.tsx#L604
'UpdateURL' cannot be used as a JSX component.
tests: packages/react/test/shared/updates.tsx#L602
'Search' cannot be used as a JSX component.
tests: packages/react/test/shared/updates.tsx#L601
'Pathname' cannot be used as a JSX component.
tests: packages/react/test/shared/updates.tsx#L600
'Origin' cannot be used as a JSX component.
tests: packages/react/test/shared/updates.tsx#L598
'URLModelProvider' cannot be used as a JSX component.
tests: packages/react/runtime/test/browser/useSignals.test.tsx#L55
Property 'resetHistory' does not exist on type 'MockInstance<{ (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }>'.
tests: packages/react/runtime/test/browser/suspense.test.tsx#L31
Property 'resetHistory' does not exist on type 'MockInstance<{ (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }>'.
tests: packages/react/runtime/test/browser/mounts.test.tsx#L28
Property 'resetHistory' does not exist on type 'MockInstance<{ (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }>'.