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
expect(getByText('Custom Submit Button')).toBeTruthy();// overridden value
94
102
expect(getByPlaceholderText(defaultConfiguration.messagePlaceholder)).toBeTruthy();// default configuration value
95
103
});
104
+
105
+
it('showFeedbackWidget warns about missing feedback provider',()=>{
106
+
mockedIsModalSupported.mockReturnValue(true);
107
+
108
+
showFeedbackWidget();
109
+
110
+
expect(consoleWarnSpy).toHaveBeenLastCalledWith('[Sentry] FeedbackWidget requires `Sentry.wrap(RootComponent)` to be called before `showFeedbackWidget()`.');
111
+
});
112
+
113
+
it('showFeedbackWidget does not warn about missing feedback provider when FeedbackWidgetProvider is used',()=>{
0 commit comments