UNPKG

@storybook/nextjs-vite

Version:

Storybook for Next.js and Vite: Develop, document, and test UI components in isolation

18 lines (16 loc) 642 B
import "../../_browser-chunks/chunk-SL3VIQZ3.js"; // src/export-mocks/cache/index.ts import { fn } from "storybook/test"; var revalidatePath = fn().mockName("next/cache::revalidatePath"), revalidateTag = fn().mockName("next/cache::revalidateTag"), unstable_cache = fn().mockName("next/cache::unstable_cache").mockImplementation((cb) => cb), unstable_noStore = fn().mockName("next/cache::unstable_noStore"), cacheExports = { unstable_cache, revalidateTag, revalidatePath, unstable_noStore }, cache_default = cacheExports; export { cache_default as default, revalidatePath, revalidateTag, unstable_cache, unstable_noStore };