Skip to content

[react] Fix typings for QuilttButton onLoad handler (#313) #220

[react] Fix typings for QuilttButton onLoad handler (#313)

[react] Fix typings for QuilttButton onLoad handler (#313) #220

Triggered via push December 24, 2024 08:38
Status Failure
Total duration 1m 4s
Artifacts

tests-unit.yml

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

Annotations

9 errors and 1 warning
tests/components/QuilttConnector.test.tsx > QuilttConnector > WebView Platform-Specific Props > should have correct common props regardless of platform: packages/react-native/tests/components/QuilttConnector.test.tsx#L91
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:91:28
tests/components/QuilttConnector.test.tsx > QuilttConnector > WebView Platform-Specific Props > should apply iOS specific props when platform is iOS: packages/react-native/tests/components/QuilttConnector.test.tsx#L115
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:115:7
tests/components/QuilttConnector.test.tsx > QuilttConnector > WebView Platform-Specific Props > should apply Android specific props when platform is Android: packages/react-native/tests/components/QuilttConnector.test.tsx#L137
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:137:7
tests/components/QuilttConnector.test.tsx > QuilttConnector > WebView Platform-Specific Props > should have a valid request handler function: packages/react-native/tests/components/QuilttConnector.test.tsx#L158
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:158:7
tests/components/QuilttConnector.test.tsx > QuilttConnector > Component Rendering > should render LoadingScreen during pre-flight check: packages/react-native/tests/components/QuilttConnector.test.tsx#L170
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:170:31
tests/components/QuilttConnector.test.tsx > QuilttConnector > Component Rendering > should render ErrorScreen on pre-flight check failure: packages/react-native/tests/components/QuilttConnector.test.tsx#L178
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:178:31
tests/components/QuilttConnector.test.tsx > QuilttConnector > Component Rendering > should render webview if pre-flight check succeeds: packages/react-native/tests/components/QuilttConnector.test.tsx#L194
Error: Trying to detect host component names triggered the following error: LogBoxStyle.getWarningColor is not a function 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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/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_egi2m7plicuft6nlfwrns7vfxq/node_modules/@testing-library/react-native/src/render.tsx:44:10 ❯ tests/components/QuilttConnector.test.tsx:194:31
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