[ci] format

This commit is contained in:
tony-sull 2022-09-07 13:57:52 +00:00 committed by fredkbot
parent db70afdcd5
commit c080438b89
3 changed files with 7 additions and 6 deletions

View file

@ -41,7 +41,7 @@ export function propsToFilename(transform: TransformOptions) {
const ext = extname(filename);
filename = removeExtname(filename);
const outputExt = transform.format ? `.${transform.format}` : ext
const outputExt = transform.format ? `.${transform.format}` : ext;
return `/${filename}_${shorthash(JSON.stringify(transform))}${outputExt}`;
}

View file

@ -57,8 +57,8 @@ describe('SSG images - dev', function () {
query: {
w: '200',
h: '300',
href: 'https://picsum.photos/200/300'
}
href: 'https://picsum.photos/200/300',
},
},
{
title: 'Public images',
@ -138,8 +138,8 @@ describe('SSG images with subpath - dev', function () {
query: {
w: '200',
h: '300',
href: 'https://picsum.photos/200/300'
}
href: 'https://picsum.photos/200/300',
},
},
{
title: 'Public images',

View file

@ -173,7 +173,8 @@ describe('SSR pictures with subpath - dev', function () {
},
contentType: 'image/jpeg',
alt: 'ipsum',
},,
},
,
{
title: 'Public images',
id: '#hero',