From 94a152958716234b107d32d400ce7a0d246f6ead Mon Sep 17 00:00:00 2001 From: bluwy Date: Mon, 3 Jul 2023 08:12:47 +0000 Subject: [PATCH] [ci] format --- packages/integrations/image/test/picture-ssg.test.js | 4 +++- packages/integrations/image/test/picture-ssr-build.test.js | 4 +++- packages/integrations/image/test/picture-ssr-dev.test.js | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/integrations/image/test/picture-ssg.test.js b/packages/integrations/image/test/picture-ssg.test.js index 5f56ec53c3..6601e74f7b 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 6c06fd1fc9..8aba191a40 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 39a5431dc9..896ff82622 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];