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 94ca5ba commit e48f97cCopy full SHA for e48f97c
packages/next-drupal/tests/draft/draft.test.ts
@@ -125,8 +125,8 @@ describe("enableDraftMode()", () => {
125
126
describe("disableDraftMode()", () => {
127
test("draft data cookie was deleted", async () => {
128
- await disableDraftMode()
129
const cookieStore = await cookies()
+ await disableDraftMode()
130
131
expect(cookies).toHaveBeenCalledTimes(1)
132
expect(cookieStore.delete).toHaveBeenCalledWith(DRAFT_DATA_COOKIE_NAME)
0 commit comments