Skip to content

Commit

Permalink
Fix edit mode flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed May 15, 2024
1 parent cd83be6 commit d8a1580
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/note-ui.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const meta = {
component: NoteUI,
async beforeEach() {
cookies().set(userCookieKey, await createUserCookie('storybookjs'))
saveNote.mockImplementation(async () => {})
deleteNote.mockImplementation(async () => {})
},
} satisfies Meta<typeof NoteUI>

Expand Down

0 comments on commit d8a1580

Please sign in to comment.