[ci] format
This commit is contained in:
parent
e644b34659
commit
94a1529587
3 changed files with 9 additions and 3 deletions
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue