Skip to content

Commit

Permalink
Fix lazy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Oct 22, 2020
1 parent 6c11e4f commit 39fb88e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/image-component/basic/pages/client-side.js
Expand Up @@ -9,6 +9,7 @@ const ClientSide = () => {
<Image
id="basic-image"
src="foo.jpg"
lazy={false}
width={300}
height={400}
quality={60}
Expand All @@ -17,6 +18,7 @@ const ClientSide = () => {
id="attribute-test"
data-demo="demo-value"
src="bar.jpg"
lazy={false}
width={300}
height={400}
/>
Expand All @@ -25,13 +27,15 @@ const ClientSide = () => {
data-demo="demo-value"
host="secondary"
src="foo2.jpg"
lazy={false}
width={300}
height={400}
/>
<Image
id="unoptimized-image"
unoptimized
src="https://arbitraryurl.com/foo.jpg"
lazy={false}
width={300}
height={400}
/>
Expand Down
4 changes: 4 additions & 0 deletions test/integration/image-component/basic/pages/index.js
Expand Up @@ -9,6 +9,7 @@ const Page = () => {
<Image
id="basic-image"
src="foo.jpg"
lazy={false}
width={300}
height={400}
quality={60}
Expand All @@ -17,6 +18,7 @@ const Page = () => {
id="attribute-test"
data-demo="demo-value"
src="bar.jpg"
lazy={false}
width={300}
height={400}
/>
Expand All @@ -25,13 +27,15 @@ const Page = () => {
data-demo="demo-value"
host="secondary"
src="foo2.jpg"
lazy={false}
width={300}
height={400}
/>
<Image
id="unoptimized-image"
unoptimized
src="https://arbitraryurl.com/foo.jpg"
lazy={false}
width={300}
height={400}
/>
Expand Down

0 comments on commit 39fb88e

Please sign in to comment.