We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5316d2 commit f6d9765Copy full SHA for f6d9765
site/src/pages/DeploymentSettingsPage/NotificationsPage/Troubleshooting.stories.tsx
@@ -15,8 +15,10 @@ export default meta;
15
type Story = StoryObj<typeof Troubleshooting>;
16
17
export const TestNotification: Story = {
18
- play: async ({ canvasElement }) => {
+ beforeEach() {
19
spyOn(API, "postTestNotification").mockResolvedValue();
20
+ },
21
+ play: async ({ canvasElement }) => {
22
const user = userEvent.setup();
23
const canvas = within(canvasElement);
24
0 commit comments