Skip to content

Commit

Permalink
test: ✅ Using next js image src
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocavalcanti committed Oct 10, 2023
1 parent 7f5ca77 commit ff29e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Post/__tests__/Post.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('<Post />', () => {

expect(image).toHaveAttribute(
'src',
'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'
'/_next/image?url=https%3A%2F%2Fsome-url&w=3840&q=75'
);
});
});

0 comments on commit ff29e4a

Please # to comment.