Skip to content

Version Packages

Version Packages #229

Triggered via push January 13, 2025 06:26
Status Failure
Total duration 1m 6s
Artifacts

tests-unit.yml

on: push
Run Tests
57s
Run Tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
tests/components/ErrorScreen.test.tsx > ErrorScreen > should render correctly with provided error message: packages/react-native/tests/components/ErrorScreen.test.tsx#L15
Error: Trying to detect host component names triggered the following error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `ForwardRef(Switch)`. There seems to be an issue with your configuration that prevents React Native Testing Library from working correctly. Please check if you are using compatible versions of React Native and React Native Testing Library. ❯ detectHostComponentNames ../../node_modules/.pnpm/@testing-library[email protected][email protected]_@[email protected][email protected]_@ba_cjraw3v3pdzwdnj3wp2iiume3e/node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:56:11 ❯ configureHostComponentNamesIfNeeded ../../node_modules/.pnpm/@testing-library[email protected][email protected]_@[email protected][email protected]_@ba_cjraw3v3pdzwdnj3wp2iiume3e/node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30 ❯ renderInternal ../../node_modules/.pnpm/@testing-library[email protected][email protected]_@[email protected][email protected]_@ba_cjraw3v3pdzwdnj3wp2iiume3e/node_modules/@testing-library/react-native/src/render.tsx:70:40 ❯ Proxy.render ../../node_modules/.pnpm/@testing-library[email protected][email protected]_@[email protected][email protected]_@ba_cjraw3v3pdzwdnj3wp2iiume3e/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/ErrorScreen.test.tsx:15:40
Run Tests
The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
Run Tests
🚨 Coverage run failed!
Run Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636