Skip to content

Commit ccc136c

Browse files
Fix linting
1 parent 0a810d1 commit ccc136c

File tree

1 file changed

+2
-1
lines changed
  • code/frameworks/experimental-nextjs-vite/src/export-mocks/headers

1 file changed

+2
-1
lines changed

code/frameworks/experimental-nextjs-vite/src/export-mocks/headers/cookies.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// We need this import to be a singleton, and because it's used in multiple entrypoints
22
// both in ESM and CJS, importing it via the package name instead of having a local import
33
// is the only way to achieve it actually being a singleton
4+
import { fn } from '@storybook/test';
5+
46
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
57
// @ts-ignore we must ignore types here as during compilation they are not generated yet
68
import { headers } from '@storybook/experimental-nextjs-vite/headers.mock';
7-
import { fn } from '@storybook/test';
89

910
import { RequestCookies } from 'next/dist/compiled/@edge-runtime/cookies';
1011

0 commit comments

Comments
 (0)