Skip to content

fix: avoid jest namespace in fetch test helper#19

Open
TechWithTy wants to merge 1 commit intoai-devfrom
codex/fix-type-error-for-jest-namespace-ovysk0
Open

fix: avoid jest namespace in fetch test helper#19
TechWithTy wants to merge 1 commit intoai-devfrom
codex/fix-type-error-for-jest-namespace-ovysk0

Conversation

@TechWithTy
Copy link
Copy Markdown
Owner

Summary

  • replace the direct usage of the Jest namespace in the shared fetch test helper with a narrow mock interface
  • centralize access to the mocked fetch instance to avoid relying on globally-available Jest types during production builds
  • move @types/jest into runtime dependencies so the type definitions are present during production installs

Testing

  • pnpm run build (fails: Next.js cannot download external Google Fonts in this environment)

https://chatgpt.com/codex/tasks/task_e_68ead36d5b8c8329acadeb96acda7e72

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
deal-scale Error Error Oct 11, 2025 10:40pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant