Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Nov 19, 2024
1 parent 7fdad3b commit f41fb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/next-mocks/alias/headers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export { headers } from "./headers";
export { cookies } from "./cookies";

// re-exports of the actual module
export * from "next/dist/server/request/headers";
export { UnsafeUnwrappedHeaders } from "next/dist/server/request/headers";

// passthrough mocks - keep original implementation but allow for spying
const draftMode: Mock<() => ReturnType<typeof originalDraftMode>> = fn(
Expand Down

0 comments on commit f41fb2c

Please sign in to comment.