We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a810d1 commit ccc136cCopy full SHA for ccc136c
code/frameworks/experimental-nextjs-vite/src/export-mocks/headers/cookies.ts
@@ -1,10 +1,11 @@
1
// We need this import to be a singleton, and because it's used in multiple entrypoints
2
// both in ESM and CJS, importing it via the package name instead of having a local import
3
// is the only way to achieve it actually being a singleton
4
+import { fn } from '@storybook/test';
5
+
6
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
7
// @ts-ignore we must ignore types here as during compilation they are not generated yet
8
import { headers } from '@storybook/experimental-nextjs-vite/headers.mock';
-import { fn } from '@storybook/test';
9
10
import { RequestCookies } from 'next/dist/compiled/@edge-runtime/cookies';
11
0 commit comments