Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade react-native from 0.73.6 to 0.75.2 #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shamoilattaar-wednesday
Copy link
Collaborator

snyk-top-banner

Snyk has created this PR to upgrade react-native from 0.73.6 to 0.75.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 264 versions ahead of your current version.

  • The recommended version was released on a month ago.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade react-native from 0.73.6 to 0.75.2.

See this package in yarn:
react-native

See this project in Snyk:
https://app.snyk.io/org/shamoilattaar-wednesday/project/23dc2955-1a0d-48a4-af49-06d3e4b79f8f?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

coderabbitai bot commented Sep 24, 2024

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    -- I pushed a fix in commit <commit_id>, please review it.
    -- Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    -- @coderabbitai generate unit testing code for this file.
    -- @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    -- @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    -- @coderabbitai read src/utils.ts and generate unit testing code.
    -- @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    -- @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/usr/local/bin/yarn' failed with exit code 1

Statements coverage not met for global: expected >=80%, but got 59.32203389830508%

St.
Category Percentage Covered / Total
🔴 Statements
59.32% (-19.77% 🔻)
105/177
🔴 Branches
12% (-32% 🔻)
3/25
🔴 Functions
36.21% (-31.03% 🔻)
21/58
🔴 Lines
59.24% (-21.02% 🔻)
93/157
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡 utils/common.js
60% (-20% 🔻)
25% (-50% 🔻)
50% (-50% 🔻)
60% (-20% 🔻)
🟡
... / index.js
75% (-25% 🔻)
100%
0% (-100% 🔻)
75% (-25% 🔻)
🟢
... / index.js
75% (-25% 🔻)
0% (-100% 🔻)
0% (-100% 🔻)
100%
🟡
... / index.js
60% (-40% 🔻)
100%
0% (-100% 🔻)
60% (-40% 🔻)
🟡
... / index.js
75% (-25% 🔻)
100%
0% (-100% 🔻)
75% (-25% 🔻)
🟡
... / index.js
75% (-25% 🔻)
100%
0% (-100% 🔻)
75% (-25% 🔻)
🟡
... / index.js
75% (-25% 🔻)
100%
0% (-100% 🔻)
75% (-25% 🔻)
🔴
... / index.js
14.29% (-80.95% 🔻)
0% (-100% 🔻)
0% (-83.33% 🔻)
15% (-85% 🔻)
🟡
... / index.js
75% (-25% 🔻)
100%
0% (-100% 🔻)
75% (-25% 🔻)
🔴
... / appNavigator.js
50% (-50% 🔻)
100%
0% (-100% 🔻)
50% (-50% 🔻)
🔴
... / index.js
14.29% (-85.71% 🔻)
0% (-100% 🔻)
0% (-100% 🔻)
16.67% (-83.33% 🔻)
🔴
... / index.js
33.33% (-66.67% 🔻)
100%
0% (-100% 🔻)
33.33% (-66.67% 🔻)

Test suite run failed

Failed tests: 28/47. Failed suites: 10/17.
  ● ExampleScreen › renders loading indicator initially

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      39 |
      40 |   test('renders loading indicator initially', () => {
    > 41 |     const { getByTestId } = render(
         |                                   ^
      42 |       <RecoilRoot>
      43 |         <ExampleScreenTest />
      44 |       </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/ExampleScreen/tests/index.test.js:41:35)

  ● ExampleScreen › renders content when userLoadable.state is "hasValue"

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      54 |     });
      55 |
    > 56 |     const { getByTestId } = render(
         |                                   ^
      57 |       <RecoilRoot>
      58 |         <ExampleScreenTest />
      59 |       </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/ExampleScreen/tests/index.test.js:56:35)

  ● ExampleScreen › renders error message when userLoadable.state is "hasError"

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      69 |     });
      70 |
    > 71 |     const { getByText } = render(
         |                                 ^
      72 |       <RecoilRoot>
      73 |         <ExampleScreenTest />
      74 |       </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/ExampleScreen/tests/index.test.js:71:33)

  ● ExampleScreen › calls requestFetchUser on button press

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      84 |     });
      85 |
    > 86 |     const { getByText } = render(
         |                                 ^
      87 |       <RecoilRoot>
      88 |         <ExampleScreenTest />
      89 |       </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/ExampleScreen/tests/index.test.js:86:33)

  ● ExampleScreen › sets user when userLoadable.state is "hasValue"

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      100 |     });
      101 |
    > 102 |     render(
          |           ^
      103 |       <RecoilRoot>
      104 |         <ExampleScreenTest />
      105 |       </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/ExampleScreen/tests/index.test.js:102:11)


  ● <RootScreen /> › should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      20 |   it('should render and match the snapshot', () => {
      21 |     useRecoilValue.mockReturnValue(true); // Mock app state as truthy
    > 22 |     const { baseElement } = render(<RootScreenTest />);
         |                                   ^
      23 |     expect(baseElement).toMatchSnapshot();
      24 |   });
      25 |

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/RootScreen/tests/index.test.js:22:35)

  ● <RootScreen /> › should render the Container and AppNavigator components

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      26 |   it('should render the Container and AppNavigator components', () => {
      27 |     useRecoilValue.mockReturnValue(true); // Mock app state as truthy
    > 28 |     const { getByTestId } = render(<RootScreenTest />);
         |                                   ^
      29 |
      30 |     const rootScreenContainer = getByTestId('root-screen');
      31 |     expect(rootScreenContainer).toBeTruthy();

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/RootScreen/tests/index.test.js:28:35)

  ● <RootScreen /> › should call navigateAndReset when appState is falsy

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      37 |   it('should call navigateAndReset when appState is falsy', async () => {
      38 |     useRecoilValue.mockReturnValue(null); // Mock app state as falsy
    > 39 |     render(<RootScreenTest />);
         |           ^
      40 |
      41 |     await waitFor(
      42 |       () => {

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/RootScreen/tests/index.test.js:39:11)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7)
      at Object.<anonymous> (node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)

  ● <RootScreen /> › should not call navigateAndReset when appState is truthy

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      49 |   it('should not call navigateAndReset when appState is truthy', async () => {
      50 |     useRecoilValue.mockReturnValue(true); // Mock app state as truthy
    > 51 |     render(<RootScreenTest />);
         |           ^
      52 |
      53 |     await waitFor(() => {
      54 |       expect(navigateAndReset).not.toHaveBeenCalled();

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/RootScreen/tests/index.test.js:51:11)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7)
      at Object.<anonymous> (node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)

  ● <RootScreen /> › should handle changes to appState

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      57 |
      58 |   it('should handle changes to appState', async () => {
    > 59 |     const { rerender } = render(<RootScreenTest />);
         |                                ^
      60 |
      61 |     // First render with a falsy app state
      62 |     useRecoilValue.mockReturnValueOnce(null);

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/scenes/RootScreen/tests/index.test.js:59:32)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
      at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7)
      at Object.<anonymous> (node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)


  ● <If /> › Should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      14 | describe('<If />', () => {
      15 |   it('Should render and match the snapshot', () => {
    > 16 |     const baseElement = render(<If />);
         |                               ^
      17 |     expect(baseElement).toMatchSnapshot();
      18 |   });
      19 |

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/components/atoms/If/tests/index.test.js:16:31)

  ● <If /> › If should render the child component when props.condition = true

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      27 |       condition: true
      28 |     };
    > 29 |     const { queryByText, getByText } = render(
         |                                              ^
      30 |       <If {...props}>
      31 |         <TrueConditionComponent />
      32 |       </If>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/components/atoms/If/tests/index.test.js:29:46)

  ● <If /> › If should render the component passed on otherwise when props.condition = false

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      46 |     };
      47 |
    > 48 |     const { queryByText, getByText } = render(
         |                                              ^
      49 |       <If {...props}>
      50 |         <TrueConditionComponent />
      51 |       </If>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/components/atoms/If/tests/index.test.js:48:46)


  ● <SimpsonsLoveWednesday /> › Should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/organisms/SimpsonsLoveWednesday/tests/index.test.js:15:42)

  ● <SimpsonsLoveWednesday /> › Should render the Error component if userErrorMessage is not empty

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/organisms/SimpsonsLoveWednesday/tests/index.test.js:29:44)

  ● <SimpsonsLoveWednesday /> › Should render the component if userErrorMessage is empty

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/organisms/SimpsonsLoveWednesday/tests/index.test.js:45:65)


  ● <CharacterWithQuote /> › Should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/molecules/CharacterWithQuote/tests/index.test.js:16:42)

  ● <CharacterWithQuote /> › Should render the Character name, image and quote provided as the user prop

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/molecules/CharacterWithQuote/tests/index.test.js:29:57)


  ● <LanguageProvider /> container tests › should render its children

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/atoms/LanguageProvider/tests/index.test.js:14:40)

  ● <ConnectedLanguageProvider /> container tests › should render the default language messages

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      21 | describe('<ConnectedLanguageProvider /> container tests', () => {
      22 |   it('should render the default language messages', () => {
    > 23 |     const { queryByText } = render(
         |                                   ^
      24 |       <ConnectedLanguageProvider>
      25 |         <T id="because" />
      26 |       </ConnectedLanguageProvider>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at Object.<anonymous> (app/components/atoms/LanguageProvider/tests/index.test.js:23:35)


  ● <LogoWithInstructions /> › Should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/molecules/LogoWithInstructions/tests/index.test.js:15:42)

  ● <LogoWithInstructions /> › should render the instructions pased as props

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/molecules/LogoWithInstructions/tests/index.test.js:20:44)


  ● <SplashScreen /> › should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/scenes/SplashScreen/tests/index.test.js:12:42)

  ● <SplashScreen /> › should contain 1 splash screen

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/scenes/SplashScreen/tests/index.test.js:17:49)


  ● <Container /> › should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/atoms/Container/tests/index.test.js:12:42)

  ● <Container /> › should contain 1 container

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/atoms/Container/tests/index.test.js:17:49)


  ● <T /> › should render and match the snapshot

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/atoms/T/tests/index.test.js:12:42)

  ● <T /> › should contain 1 t

    Trying to detect host component names triggered the following error:

    /home/runner/work/react-native-template/react-native-template/node_modules/react-native/src/private/specs/components/DebuggingOverlayNativeComponent.js: Unsupported param type for method "highlightTraceUpdates", param "updates". Found $ReadOnlyArray

    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.

      11 |
      12 | export const renderWithI18next = (children, renderFunction = render) =>
    > 13 |   renderFunction(
         |   ^
      14 |     <RecoilRoot>
      15 |       <I18nextProvider i18n={i18n}>{children}</I18nextProvider>
      16 |     </RecoilRoot>

      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:54:11)
      at detectHostComponentNames (node_modules/@testing-library/react-native/src/helpers/host-component-names.tsx:27:30)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:48:40)
      at renderInternal (node_modules/@testing-library/react-native/src/render.tsx:29:10)
      at renderFunction (app/utils/testUtils.js:13:3)
      at Object.<anonymous> (app/components/atoms/T/tests/index.test.js:17:49)

Report generated by 🧪jest coverage report action from bd9e621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants