Skip to content

Commit

Permalink
Add export test with imageFile
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Oct 20, 2022
1 parent f791e54 commit 071b33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/export-image-loader/test/index.test.js
Expand Up @@ -108,7 +108,7 @@ describe('Export with loaderFile config next/image component', () => {
it('should contain img element with same src in html output', async () => {
const html = await fs.readFile(join(outdir, 'index.html'))
const $ = cheerio.load(html)
expect($('img[src="/custom/o.png"]')).toBeDefined()
expect($('img[src="/i.png#w:32,q:50"]')).toBeDefined()
})

afterAll(async () => {
Expand Down

0 comments on commit 071b33a

Please sign in to comment.