Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 2025

Bumps @sentry/types from 7.120.2 to 9.9.0.

Release notes

Sourced from @​sentry/types's releases.

9.9.0

Important Changes

  • feat(nextjs): Support instrumentation-client.ts (#15705)

    Next.js recently added a feature to support client-side (browser) instrumentation via the experimental.clientInstrumentationHook flag and the instrumentation-client.ts file.

    To be forwards compatible, the Sentry Next.js SDK will now pick up instrumentation-client.ts files even on older Next.js versions and add them to your client bundles. It is suggested that you either rename your sentry.client.config.ts file to instrumentation-client.ts, or if you already happen to have a instrumentation-client.ts file move the contents of sentry.client.config.ts to instrumentation-client.ts.

  • feat(browser): Add previous_trace span links (#15569)

    The @sentry/browser SDK and SDKs based on @sentry/browser now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option in browserTracingIntegration():

    Sentry.init({
      dsn: 'your-dsn-here'
      integrations: [
        Sentry.browserTracingIntegration({
          // Available settings:
          // - 'in-memory' (default): Stores previous trace information in memory
          // - 'session-storage': Stores previous trace information in the browser's `sessionStorage`
          // - 'off': Disable storing and sending previous trace information
          linkPreviousTrace: 'in-memory',
        }),
      ],
    });
  • feat(browser): Add logger.X methods to browser SDK (#15763)

    For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated

    Sentry.init({
      dsn: 'your-dsn-here',
      _experiments: {
        enableLogs: true, // This is required to use the logging features
      },
    });
    Sentry.logger.info('This is a trace message', { userId: 123 });
    // See PR for better documentation

    Please note that the logs product is still in early access. See the link above for more information.

Other Changes

  • feat(browser): Attach host as part of error message to "Failed to fetch" errors (#15729)

... (truncated)

Changelog

Sourced from @​sentry/types's changelog.

9.9.0

Important Changes

  • feat(nextjs): Support instrumentation-client.ts (#15705)

    Next.js recently added a feature to support client-side (browser) instrumentation via the experimental.clientInstrumentationHook flag and the instrumentation-client.ts file.

    To be forwards compatible, the Sentry Next.js SDK will now pick up instrumentation-client.ts files even on older Next.js versions and add them to your client bundles. It is suggested that you either rename your sentry.client.config.ts file to instrumentation-client.ts, or if you already happen to have a instrumentation-client.ts file move the contents of sentry.client.config.ts to instrumentation-client.ts.

  • feat(browser): Add previous_trace span links (#15569)

    The @sentry/browser SDK and SDKs based on @sentry/browser now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option in browserTracingIntegration():

    Sentry.init({
      dsn: 'your-dsn-here'
      integrations: [
        Sentry.browserTracingIntegration({
          // Available settings:
          // - 'in-memory' (default): Stores previous trace information in memory
          // - 'session-storage': Stores previous trace information in the browser's `sessionStorage`
          // - 'off': Disable storing and sending previous trace information
          linkPreviousTrace: 'in-memory',
        }),
      ],
    });
  • feat(browser): Add logger.X methods to browser SDK (#15763)

    For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated

    Sentry.init({
      dsn: 'your-dsn-here',
      _experiments: {
        enableLogs: true, // This is required to use the logging features
      },
    });
    Sentry.logger.info('This is a trace message', { userId: 123 });
    // See PR for better documentation

    Please note that the logs product is still in early access. See the link above for more information.

Other Changes

... (truncated)

Commits
  • 43c4c83 release: 9.9.0
  • 80e19f2 Merge pull request #15791 from getsentry/prepare-release/9.9.0
  • bb358cf meta: Update changelog for 9.9.0
  • 0cf8ec2 feat(browser): Attach host as part of error message to "Failed to fetch" erro...
  • 79ff8f2 fix(nuxt): Delete no longer needed Nitro 'close' hook (#15790)
  • 006479c ref(nextjs): Fix Next.js vercel-edge runtime package information (#15789)
  • 57f04e0 ref: Remove some usages of dropUndefinedKeys() (#15781)
  • 50d2514 feat(node): Add fastify shouldHandleError (#15771)
  • ba5993c feat(core): Add parseStringToURL method (#15768)
  • e55b8ee feat(browser): Add logger.X methods to browser SDK (#15763)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@sentry/types](https://github.com/getsentry/sentry-javascript) from 7.120.2 to 9.9.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.120.2...9.9.0)

---
updated-dependencies:
- dependency-name: "@sentry/types"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 25, 2025
@coderabbitai
Copy link

coderabbitai bot commented Mar 25, 2025

Important

Review skipped

Bot user detected.

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.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @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.

@github-actions
Copy link

github-actions bot commented Mar 25, 2025

Branch preview

❌ Deploy failed!

@github-actions
Copy link

Coverage report for apps/web

Caution

Test run failed

St.
Category Percentage Covered / Total
🟡 Statements 77.54% 14088/18168
🔴 Branches 56.97% 3560/6249
🟡 Functions 62.94% 2123/3373
🟡 Lines 78.97% 12711/16096

Test suite run failed

Failed tests: 11/1834. Failed suites: 5/251.
  ● useSafeWalletProvider › _useTxFlowApi › should open signing window for off-chain messages

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

      "Signature request",
      Object {
    -   "body": "test wants you to sign a message. Open the Evmos Safe to continue.",
    +   "body": "test wants you to sign a message. Open the Safe{Wallet} to continue.",
      },

    Number of calls: 1

      105 |       const resp = result?.current?.signMessage('message', appInfo)
      106 |
    > 107 |       expect(showNotificationSpy).toHaveBeenCalledWith('Signature request', {
          |                                   ^
      108 |         body: 'test wants you to sign a message. Open the Evmos Safe to continue.',
      109 |       })
      110 |

      at Object.toHaveBeenCalledWith (src/services/safe-wallet-provider/useSafeWalletProvider.test.tsx:107:35)

  ● useSafeWalletProvider › _useTxFlowApi › should open a signing window for on-chain messages

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

      "Signature request",
      Object {
    -   "body": "test wants you to sign a message. Open the Evmos Safe to continue.",
    +   "body": "test wants you to sign a message. Open the Safe{Wallet} to continue.",
      },

    Number of calls: 1

      157 |       const resp2 = result?.current?.signMessage('message', appInfo)
      158 |
    > 159 |       expect(showNotificationSpy).toHaveBeenCalledWith('Signature request', {
          |                                   ^
      160 |         body: 'test wants you to sign a message. Open the Evmos Safe to continue.',
      161 |       })
      162 |

      at Object.toHaveBeenCalledWith (src/services/safe-wallet-provider/useSafeWalletProvider.test.tsx:159:35)

  ● useSafeWalletProvider › _useTxFlowApi › should open signing window for off-chain typed messages

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

      "Signature request",
      Object {
    -   "body": "test wants you to sign a message. Open the Evmos Safe to continue.",
    +   "body": "test wants you to sign a message. Open the Safe{Wallet} to continue.",
      },

    Number of calls: 1

      228 |       const resp = result?.current?.signTypedMessage(typedMessage, appInfo)
      229 |
    > 230 |       expect(showNotificationSpy).toHaveBeenCalledWith('Signature request', {
          |                                   ^
      231 |         body: 'test wants you to sign a message. Open the Evmos Safe to continue.',
      232 |       })
      233 |

      at Object.toHaveBeenCalledWith (src/services/safe-wallet-provider/useSafeWalletProvider.test.tsx:230:35)

  ● useSafeWalletProvider › _useTxFlowApi › should should send (batched) transactions

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

      "Transaction request",
      Object {
    -   "body": "test wants to submit a transaction. Open the Evmos Safe to continue.",
    +   "body": "test wants to submit a transaction. Open the Safe{Wallet} to continue.",
      },

    Number of calls: 1

      278 |       )
      279 |
    > 280 |       expect(showNotificationSpy).toHaveBeenCalledWith('Transaction request', {
          |                                   ^
      281 |         body: 'test wants to submit a transaction. Open the Evmos Safe to continue.',
      282 |       })
      283 |

      at Object.toHaveBeenCalledWith (src/services/safe-wallet-provider/useSafeWalletProvider.test.tsx:280:35)


  ● FallbackHandler › No Fallback Handler › should render a warning when no Fallback Handler is set

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

    Ignored nodes: comments, script, style
    <html>
      <head>
        <meta
          content=""
          name="emotion-insertion-point"
        />
      </head>
      <body>
        <div>
          <div
            class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 css-p4s866-MuiPaper-root"
            style="--Paper-shadow: none;"
          >
            <div
              class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-3 css-t48d7i-MuiGrid-root"
            >
              <div
                class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-lg-4 css-1qm8set-MuiGrid-root"
              >
                <h4
                  class="MuiTypography-root MuiTypography-h4 css-1wz4xwf-MuiTypography-root"
                >
                  Fallback handler
                </h4>
              </div>
              <div
                class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
              >
                <div
                  class="MuiBox-root css-0"
                >
                  <p
                    class="MuiTypography-root MuiTypography-body1 css-v6lhhw-MuiTypography-root"
                  >
                    The fallback handler adds fallback logic for funtionality that may not be present in the Safe Account contract. Learn more about the fallback handler
                     
                    <a
                      class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-r9pq5a-MuiTypography-root-MuiLink-root"
                      href="https://help.safe.global/en/articles/40838-what-is-a-fallback-handler-and-how-does-it-relate-to-safe"
                      rel="noreferrer noopener"
                      target="_blank"
                    >
                      <span
                        class="MuiBox-root css-1vqf8mi"
                      >
                        here
                        <svg
                          aria-hidden="true"
                          class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-tqxw8e-MuiSvgIcon-root"
                          data-testid="OpenInNewRoundedIcon"
                          focusable="false"
                          viewBox="0 0 24 24"
                        >
                          <path
                            d="M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1"
                          />
                        </svg>
                      </span>
                    </a>
                  </p>
                  <div
                    class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-standardWarning MuiAlert-standard css-11b798m-MuiPaper-root-MuiAlert-root"
                    role="alert"
                    style="--Paper-shadow: none;"
                  >
                    <div
                      class="MuiAlert-message css-zioonp-MuiAlert-message"
                    >
                      <p
                        class="MuiTypography-root MuiTypography-body2 css-184tsqz-MuiTypography-root"
                      >
                        The Safe{Wallet} may not work correctly as no fallback handler is currently set.
                         It can be set via the 
                        <a
                          class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-r9pq5a-MuiTypography-root-MuiLink-root"
                          href="/"
                        >
                          Transaction Builder
                        </a>
                        .
                      </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </body>
    </html>

      136 |             new RegExp('The Evmos Safe may not work correctly as no fallback handler is currently set.'),
      137 |           ),
    > 138 |         ).toBeInTheDocument()
          |           ^
      139 |         expect(fbHandler.queryByText('Transaction Builder')).toBeInTheDocument()
      140 |       })
      141 |     })

      at __EXTERNAL_MATCHER_TRAP__ (../../node_modules/expect/build/index.js:325:30)
      at Object.throwingMatcher [as toBeInTheDocument] (../../node_modules/expect/build/index.js:326:15)
      at toBeInTheDocument (src/components/settings/FallbackHandler/__tests__/index.test.tsx:138:11)
      at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12)
      at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77)
      at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16)
      at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

  ● FallbackHandler › No Fallback Handler › should conditionally append the Transaction Builder link

    expect(received).toBeInTheDocument()

    received value must be an HTMLElement or an SVGElement.
    Received has value: null

    Ignored nodes: comments, script, style
    <html>
      <head>
        <meta
          content=""
          name="emotion-insertion-point"
        />
      </head>
      <body>
        <div>
          <div
            class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 css-p4s866-MuiPaper-root"
            style="--Paper-shadow: none;"
          >
            <div
              class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-3 css-t48d7i-MuiGrid-root"
            >
              <div
                class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-lg-4 css-1qm8set-MuiGrid-root"
              >
                <h4
                  class="MuiTypography-root MuiTypography-h4 css-1wz4xwf-MuiTypography-root"
                >
                  Fallback handler
                </h4>
              </div>
              <div
                class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-true css-1vd824g-MuiGrid-root"
              >
                <div
                  class="MuiBox-root css-0"
                >
                  <p
                    class="MuiTypography-root MuiTypography-body1 css-v6lhhw-MuiTypography-root"
                  >
                    The fallback handler adds fallback logic for funtionality that may not be present in the Safe Account contract. Learn more about the fallback handler
                     
                    <a
                      class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways css-r9pq5a-MuiTypography-root-MuiLink-root"
                      href="https://help.safe.global/en/articles/40838-what-is-a-fallback-handler-and-how-does-it-relate-to-safe"
                      rel="noreferrer noopener"
                      target="_blank"
                    >
                      <span
                        class="MuiBox-root css-1vqf8mi"
                      >
                        here
                        <svg
                          aria-hidden="true"
                          class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-tqxw8e-MuiSvgIcon-root"
                          data-testid="OpenInNewRoundedIcon"
                          focusable="false"
                          viewBox="0 0 24 24"
                        >
                          <path
                            d="M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1M14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V4c0-.55-.45-1-1-1h-5c-.55 0-1 .45-1 1"
                          />
                        </svg>
                      </span>
                    </a>
                  </p>
                  <div
                    class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-standardWarning MuiAlert-standard css-11b798m-MuiPaper-root-MuiAlert-root"
                    role="alert"
                    style="--Paper-shadow: none;"
                  >
                    <div
                      class="MuiAlert-message css-zioonp-MuiAlert-message"
                    >
                      <p
                        class="MuiTypography-root MuiTypography-body2 css-184tsqz-MuiTypography-root"
                      >
                        The Safe{Wallet} may not work correctly as no fallback handler is currently set.
                      </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </body>
    </html>

      161 |             new RegExp('The Evmos Safe may not work correctly as no fallback handler is currently set.'),
      162 |           ),
    > 163 |         ).toBeInTheDocument()
          |           ^
      164 |         expect(fbHandler.queryByText('Transaction Builder')).not.toBeInTheDocument()
      165 |       })
      166 |     })

      at __EXTERNAL_MATCHER_TRAP__ (../../node_modules/expect/build/index.js:325:30)
      at Object.throwingMatcher [as toBeInTheDocument] (../../node_modules/expect/build/index.js:326:15)
      at toBeInTheDocument (src/components/settings/FallbackHandler/__tests__/index.test.tsx:163:11)
      at runWithExpensiveErrorDiagnosticsDisabled (../../node_modules/@testing-library/dom/dist/config.js:47:12)
      at checkCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:124:77)
      at checkRealTimersCallback (../../node_modules/@testing-library/dom/dist/wait-for.js:118:16)
      at Timeout.task [as _onTimeout] (../../node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)


  ● useCompatibilityWarning › should return an error for a dangerous bridge › if the dApp is named

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 1

      Object {
    -   "message": "Fake Bridge is a bridge that is incompatible with Evmos Safe — the bridged funds will be lost. Consider using a different bridge.",
    +   "message": "Fake Bridge is a bridge that is incompatible with Safe{Wallet} — the bridged funds will be lost. Consider using a different bridge.",
        "severity": "error",
      }

      18 |       const { result } = renderHook(() => useCompatibilityWarning(proposal, false))
      19 |
    > 20 |       expect(result.current).toEqual({
         |                              ^
      21 |         message:
      22 |           'Fake Bridge is a bridge that is incompatible with Evmos Safe — the bridged funds will be lost. Consider using a different bridge.',
      23 |         severity: 'error',

      at Object.toEqual (src/features/walletconnect/components/WcProposalForm/__tests__/useCompatibilityWarning.test.ts:20:30)

  ● useCompatibilityWarning › should return an error for a dangerous bridge › if the dApp is not named

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 1

      Object {
    -   "message": "This dApp is a bridge that is incompatible with Evmos Safe — the bridged funds will be lost. Consider using a different bridge.",
    +   "message": "This dApp is a bridge that is incompatible with Safe{Wallet} — the bridged funds will be lost. Consider using a different bridge.",
        "severity": "error",
      }

      35 |       const { result } = renderHook(() => useCompatibilityWarning(proposal, false))
      36 |
    > 37 |       expect(result.current).toEqual({
         |                              ^
      38 |         message:
      39 |           'This dApp is a bridge that is incompatible with Evmos Safe — the bridged funds will be lost. Consider using a different bridge.',
      40 |         severity: 'error',

      at Object.toEqual (src/features/walletconnect/components/WcProposalForm/__tests__/useCompatibilityWarning.test.ts:37:30)


  ● useChainId hook › should return the default chainId if no query params

    expect(received).toBe(expected) // Object.is equality

    Expected: "11155111"
    Received: "9001"

      57 |   it('should return the default chainId if no query params', () => {
      58 |     const { result } = renderHook(() => useChainId())
    > 59 |     expect(result.current).toBe('11155111')
         |                            ^
      60 |   })
      61 |
      62 |   it('should return the chainId based on the chain query', () => {

      at Object.toBe (src/hooks/__tests__/useChainId.test.ts:59:28)


  ● SettingsHeader › A safe is open › displays Notifications if feature is enabled

    TestingLibraryElementError: Unable to find an element with the text: Notifications. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

    Ignored nodes: comments, script, style
    <body>
      <div>
        <div
          class="container border MuiBox-root css-0"
        >
          <h3
            class="MuiTypography-root MuiTypography-h3 title css-1j4por9-MuiTypography-root"
          >
            Settings
          </h3>
          <div
            class="navWrapper"
          >
            <div
              class="MuiTabs-root tabs css-1xkjjjh-MuiTabs-root"
            >
              <div
                class="MuiTabs-scrollableX MuiTabs-hideScrollbar css-i8yde5"
                style="width: 99px; height: 99px; position: absolute; top: -9999px; overflow: scroll;"
              />
              <div
                class="MuiTabs-scroller MuiTabs-hideScrollbar MuiTabs-scrollableX css-1fr578y-MuiTabs-scroller"
                style="margin-bottom: 0px;"
              >
                <div
                  class="MuiTabs-flexContainer css-1wxkzlj-MuiTabs-flexContainer"
                  role="tablist"
                >
                  <a
                    aria-selected="true"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary Mui-selected tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/setup"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-1ll22iv-MuiTypography-root"
                    >
                      Setup
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/appearance"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Appearance
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/security"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Security
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/modules"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Modules
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/safe-apps"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Safe Apps
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/data"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Data
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/environment-variables"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Environment variables
                    </p>
                  </a>
                </div>
                <span
                  class="MuiTabs-indicator css-wgor58-MuiTabs-indicator"
                  style="left: 0px; width: 0px;"
                />
              </div>
            </div>
          </div>
        </div>
      </div>
    </body>

      36 |       )
      37 |
    > 38 |       expect(result.getByText('Notifications')).toBeInTheDocument()
         |                     ^
      39 |     })
      40 |   })
      41 |

      at Object.getElementError (../../node_modules/@testing-library/dom/dist/config.js:37:19)
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
      at Object.getByText (src/components/settings/SettingsHeader/index.test.tsx:38:21)

  ● SettingsHeader › No safe is open › displays Notifications if feature is enabled

    TestingLibraryElementError: Unable to find an element with the text: Notifications. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

    Ignored nodes: comments, script, style
    <body>
      <div>
        <div
          class="container border MuiBox-root css-0"
        >
          <h3
            class="MuiTypography-root MuiTypography-h3 title css-1j4por9-MuiTypography-root"
          >
            Preferences
          </h3>
          <div
            class="navWrapper"
          >
            <div
              class="MuiTabs-root tabs css-1xkjjjh-MuiTabs-root"
            >
              <div
                class="MuiTabs-scrollableX MuiTabs-hideScrollbar css-i8yde5"
                style="width: 99px; height: 99px; position: absolute; top: -9999px; overflow: scroll;"
              />
              <div
                class="MuiTabs-scroller MuiTabs-hideScrollbar MuiTabs-scrollableX css-1fr578y-MuiTabs-scroller"
                style="margin-bottom: 0px;"
              >
                <div
                  class="MuiTabs-flexContainer css-1wxkzlj-MuiTabs-flexContainer"
                  role="tablist"
                >
                  <a
                    aria-selected="true"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary Mui-selected tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/cookies"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-1ll22iv-MuiTypography-root"
                    >
                      Cookies
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/appearance"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Appearance
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/security"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Security
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/data"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Data
                    </p>
                  </a>
                  <a
                    aria-selected="false"
                    class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary tab css-19bq83i-MuiButtonBase-root-MuiTab-root"
                    href="/settings/environment-variables"
                    role="tab"
                    tabindex="0"
                  >
                    <p
                      class="MuiTypography-root MuiTypography-body2 label css-3hax7s-MuiTypography-root"
                    >
                      Environment variables
                    </p>
                  </a>
                </div>
                <span
                  class="MuiTabs-indicator css-wgor58-MuiTabs-indicator"
                  style="left: 0px; width: 0px;"
                />
              </div>
            </div>
          </div>
        </div>
      </div>
    </body>

      66 |       )
      67 |
    > 68 |       expect(result.getByText('Notifications')).toBeInTheDocument()
         |                     ^
      69 |     })
      70 |   })
      71 | })

      at Object.getElementError (../../node_modules/@testing-library/dom/dist/config.js:37:19)
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
      at ../../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
      at Object.getByText (src/components/settings/SettingsHeader/index.test.tsx:68:21)

Report generated by 🧪jest coverage report action from e98fbd1

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 31, 2025

Superseded by #38.

@dependabot dependabot bot closed this Mar 31, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sentry/types-9.9.0 branch March 31, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant