You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/js/feedback/FeedbackWidgetManager.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ abstract class FeedbackManager {
43
43
}else{
44
44
// This message should be always shown otherwise it's not possible to use the widget.
45
45
// eslint-disable-next-line no-console
46
-
console.warn(`[Sentry] ${this._feedbackComponentName} requires 'Sentry.wrap(RootComponent)' to be called before 'showFeedbackWidget()'.`);
46
+
console.warn(`[Sentry] ${this._feedbackComponentName} requires 'Sentry.wrap(RootComponent)' to be called before 'show${this._feedbackComponentName}()'.`);
it('showFeedbackButton warns about missing feedback provider',()=>{
185
185
showFeedbackButton();
186
186
187
-
expect(consoleWarnSpy).toHaveBeenLastCalledWith(`[Sentry] FeedbackButton requires 'Sentry.wrap(RootComponent)' to be called before 'showFeedbackWidget()'.`);
187
+
expect(consoleWarnSpy).toHaveBeenLastCalledWith(`[Sentry] FeedbackButton requires 'Sentry.wrap(RootComponent)' to be called before 'showFeedbackButton()'.`);
188
188
});
189
189
190
190
it('showFeedbackButton does not warn about missing feedback provider when FeedbackWidgetProvider is used',()=>{
0 commit comments