diff --git a/packages/next/client/image.tsx b/packages/next/client/image.tsx
index 7ea3f794bcfaa..7ccb722437f9c 100644
--- a/packages/next/client/image.tsx
+++ b/packages/next/client/image.tsx
@@ -436,6 +436,27 @@ export default function Image({
) : null}
) : null}
+ {!isVisible && (
+
+ )}
{
const $ = cheerio.load(html)
const img = $('#unit-image')
expect(img.attr('id')).toBe('unit-image')
- expect(img.attr('src')).toContain('/_next/image?url=%2Ftest.png')
- expect(img.attr('srcset')).toContain('/_next/image?url=%2Ftest.png')
+ expect(img.attr('src')).toContain('test.png')
+ expect(img.attr('srcset')).toContain('test.png')
})
})