diff --git a/packages/integrations/image/test/picture-ssg.test.js b/packages/integrations/image/test/picture-ssg.test.js index 5f56ec53c..6601e74f7 100644 --- a/packages/integrations/image/test/picture-ssg.test.js +++ b/packages/integrations/image/test/picture-ssg.test.js @@ -195,7 +195,9 @@ describe('SSG pictures with subpath - dev', function () { const src = image.attr('src'); const [route, params] = src.split('?'); - for (const srcset of picture.children('source').map((_, source) => source.attribs['srcset'])) { + for (const srcset of picture + .children('source') + .map((_, source) => source.attribs['srcset'])) { for (const pictureSrc of srcset.split(',')) { const pictureParams = pictureSrc.split('?')[1]; diff --git a/packages/integrations/image/test/picture-ssr-build.test.js b/packages/integrations/image/test/picture-ssr-build.test.js index 6c06fd1fc..8aba191a4 100644 --- a/packages/integrations/image/test/picture-ssr-build.test.js +++ b/packages/integrations/image/test/picture-ssr-build.test.js @@ -223,7 +223,9 @@ describe('SSR pictures with subpath - build', function () { const src = image.attr('src'); const [route, params] = src.split('?'); - for (const srcset of picture.children('source').map((_, source) => source.attribs['srcset'])) { + for (const srcset of picture + .children('source') + .map((_, source) => source.attribs['srcset'])) { for (const pictureSrc of srcset.split(',')) { const pictureParams = pictureSrc.split('?')[1]; diff --git a/packages/integrations/image/test/picture-ssr-dev.test.js b/packages/integrations/image/test/picture-ssr-dev.test.js index 39a5431dc..896ff8262 100644 --- a/packages/integrations/image/test/picture-ssr-dev.test.js +++ b/packages/integrations/image/test/picture-ssr-dev.test.js @@ -127,7 +127,9 @@ describe('SSR pictures - dev', function () { const src = image.attr('src'); const [route, params] = src.split('?'); - for (const srcset of picture.children('source').map((_, source) => source.attribs['srcset'])) { + for (const srcset of picture + .children('source') + .map((_, source) => source.attribs['srcset'])) { for (const pictureSrc of srcset.split(',')) { const pictureParams = pictureSrc.split('?')[1];