We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viteshot does not fully support NextJs. Things like next image currently don't work.
The text was updated successfully, but these errors were encountered:
https://github.com/vercel/next.js/blob/canary/examples/with-playwright/playwright.config.ts
Sorry, something went wrong.
our testable components which use next/image are configured this way:
import * as NextImage from 'next/image'; const OriginalNextImage = NextImage.default; if (process.env.TEST_ENV === 'vreg') { Object.defineProperty(NextImage, 'default', { configurable: true, value: (props) => ( <OriginalNextImage {...props} unoptimized loader={({ src }) => src} /> ), }); }
No branches or pull requests
Viteshot does not fully support NextJs. Things like next image currently don't work.
The text was updated successfully, but these errors were encountered: