Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix `VWaveform` story and silence mocked `$sentry` call logs (#1744)

Krystle Salazarbbe03af26d21
diff --git a/src/components/VAudioTrack/meta/VWaveform.stories.mdx b/src/components/VAudioTrack/meta/VWaveform.stories.mdx
index d022c41c9..9be7b2d84 100644
--- a/src/components/VAudioTrack/meta/VWaveform.stories.mdx
+++ b/src/components/VAudioTrack/meta/VWaveform.stories.mdx
@@ -160,6 +160,7 @@ will animate up to their actual height when the prop is unset.
name="Message"
args={{
message: 'Hello, World!',
+ audioId: 123,
}}
>
{Template.bind({})}
diff --git a/src/utils/sentry-config.ts b/src/utils/sentry-config.ts
index 9a9f64614..adf393ac7 100644
--- a/src/utils/sentry-config.ts
+++ b/src/utils/sentry-config.ts
@@ -12,6 +12,7 @@ export const sentryConfig: ModuleConfiguration = {
disabled: process.env.DISABLE_SENTRY
? true
: process.env.SENTRY_DSN === undefined || !isProd,
+ logMockCalls: false,
lazy: true,
clientConfig: {
// Only allow errors that come from an actual openverse.engineering subdomain