Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed May 15, 2024
1 parent 2a1c3b3 commit a3d3b33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/note/[id]/page.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { Meta, StoryObj } from '@storybook/react'
import { cookies } from '@storybook/nextjs/headers.mock'
import { http } from 'msw'
import { getWorker } from 'msw-storybook-addon'
import { expect, userEvent, waitFor, within } from '@storybook/test'
import Page from './page'
import { initializeDB, db } from '#lib/db.mock'
import { db, initializeDB } from '#lib/db.mock'
import { createUserCookie, userCookieKey } from '#lib/session'
import { PageDecorator } from '#.storybook/decorators'
import { login } from '#app/actions.mock'
Expand Down Expand Up @@ -80,7 +79,6 @@ export const LoginShouldGetOAuthTokenAndSetCookie: Story = {
})
},
play: async ({ canvasElement }) => {
console.log(db.$getInternalState())
const canvas = within(canvasElement)
await expect(cookies().get(userCookieKey)?.value).toBeUndefined()
await userEvent.click(
Expand Down

0 comments on commit a3d3b33

Please sign in to comment.