Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps @sentry/types from 7.120.2 to 9.10.1.

Release notes

Sourced from @​sentry/types's releases.

9.10.1

  • fix: Correct @​sentry-internal/feedback docs to match the code (#15874)
  • deps: Bump bundler plugins to version 3.2.4 (#15909)

Bundle size 📦

Path Size
@​sentry/browser 23.08 KB
@​sentry/browser - with treeshaking flags 22.88 KB
@​sentry/browser (incl. Tracing) 36.49 KB
@​sentry/browser (incl. Tracing, Replay) 73.65 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 78.3 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 90.87 KB
@​sentry/browser (incl. Feedback) 40.21 KB
@​sentry/browser (incl. sendFeedback) 27.71 KB
@​sentry/browser (incl. FeedbackAsync) 32.5 KB
@​sentry/react 24.86 KB
@​sentry/react (incl. Tracing) 38.39 KB
@​sentry/vue 27.3 KB
@​sentry/vue (incl. Tracing) 38.18 KB
@​sentry/svelte 23.12 KB
CDN Bundle 24.33 KB
CDN Bundle (incl. Tracing) 36.51 KB
CDN Bundle (incl. Tracing, Replay) 71.53 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 76.71 KB
CDN Bundle - uncompressed 70.93 KB
CDN Bundle (incl. Tracing) - uncompressed 108.11 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 219.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 231.97 KB
@​sentry/nextjs (client) 39.68 KB
@​sentry/sveltekit (client) 36.92 KB
@​sentry/node 142.91 KB
@​sentry/node - without tracing 96.12 KB
@​sentry/aws-serverless 120.46 KB

9.10.0

Important Changes

  • feat: Add support for logs

    • feat(node): Add logging public APIs to Node SDKs (#15764)
    • feat(core): Add support for beforeSendLog (#15814)
    • feat(core): Add support for parameterizing logs (#15812)
    • fix: Remove critical log severity level (#15824)

    All JavaScript SDKs other than @sentry/cloudflare and @sentry/deno now support sending logs via dedicated methods as part of Sentry's upcoming logging product.

    Logging is gated by an experimental option, _experiments.enableLogs.

... (truncated)

Changelog

Sourced from @​sentry/types's changelog.

9.10.1

  • fix: Correct @​sentry-internal/feedback docs to match the code (#15874)
  • deps: Bump bundler plugins to version 3.2.4 (#15909)

9.10.0

Important Changes

  • feat: Add support for logs

    • feat(node): Add logging public APIs to Node SDKs (#15764)
    • feat(core): Add support for beforeSendLog (#15814)
    • feat(core): Add support for parameterizing logs (#15812)
    • fix: Remove critical log severity level (#15824)

    All JavaScript SDKs other than @sentry/cloudflare and @sentry/deno now support sending logs via dedicated methods as part of Sentry's upcoming logging product.

    Logging is gated by an experimental option, _experiments.enableLogs.

    Sentry.init({
      dsn: 'PUBLIC_DSN',
      // `enableLogs` must be set to true to use the logging features
      _experiments: { enableLogs: true },
    });
    const { trace, debug, info, warn, error, fatal, fmt } = Sentry.logger;
    trace('Starting database connection', { database: 'users' });
    debug('Cache miss for user', { userId: 123 });
    error('Failed to process payment', { orderId: 'order_123', amount: 99.99 });
    fatal('Database connection pool exhausted', { database: 'users', activeConnections: 100 });
    // Structured logging via the fmt helper function. When you use fmt, the string template and parameters are sent separately so they can be queried independently in Sentry.
    info(fmt(Updated profile for user ${userId}));
    warn(fmt(Rate limit approaching for endpoint ${endpoint}. Requests: ${requests}, Limit: ${limit}));

    With server-side SDKs like @sentry/node, @sentry/bun or server-side of @sentry/nextjs or @sentry/sveltekit, you can do structured logging without needing the fmt helper function.

    const { info, warn } = Sentry.logger;
    info('User %s logged in successfully', [123]);
    warn('Failed to load user %s data', [123], { errorCode: 404 });

    To filter logs, or update them before they are sent to Sentry, you can use the _experiments.beforeSendLog option.

... (truncated)

Commits
  • 979fe8f release: 9.10.1
  • c72d02b Merge pull request #15910 from getsentry/prepare-release/9.10.1
  • 2139b59 meta(changelog): Update changelog for VERSION
  • bcb15ba deps: Bump bundler plugins to version 3.2.4 (#15909)
  • 4dc7006 Merge pull request #15876 from getsentry/master
  • dbde86c Merge branch 'release/9.10.0'
  • 791d9e3 fix: Correct @​sentry-internal/feedback docs to match the code (#15874)
  • e383fff release: 9.10.0
  • 03d4ab1 Merge pull request #15867 from getsentry/prepare-release/9.10.0
  • d430d96 meta(changelog): Update changelog for 9.10.0
  • 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.10.1.
- [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.10.1)

---
updated-dependencies:
- dependency-name: "@sentry/types"
  dependency-version: 9.10.1
  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 31, 2025
@coderabbitai
Copy link

coderabbitai bot commented Mar 31, 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 31, 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 2871faf

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 7, 2025

Superseded by #40.

@dependabot dependabot bot closed this Apr 7, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sentry/types-9.10.1 branch April 7, 2025 23:52
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