[ci] format
This commit is contained in:
parent
457e559cd5
commit
a20e811795
2 changed files with 4 additions and 2 deletions
|
@ -85,7 +85,7 @@ describe('SSG images', function () {
|
||||||
verifyImage(`_image/googlelogo_color_272x92dp-${HASH_WITH_QUERY}_544x184.webp`, {
|
verifyImage(`_image/googlelogo_color_272x92dp-${HASH_WITH_QUERY}_544x184.webp`, {
|
||||||
width: 544,
|
width: 544,
|
||||||
height: 184,
|
height: 184,
|
||||||
type: 'webp'
|
type: 'webp',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -145,7 +145,9 @@ describe('SSR images - build', function () {
|
||||||
expect(searchParams.get('f')).to.equal('webp');
|
expect(searchParams.get('f')).to.equal('webp');
|
||||||
expect(searchParams.get('w')).to.equal('544');
|
expect(searchParams.get('w')).to.equal('544');
|
||||||
expect(searchParams.get('h')).to.equal('184');
|
expect(searchParams.get('h')).to.equal('184');
|
||||||
expect(searchParams.get('href').endsWith('googlelogo_color_272x92dp.png?token=abc')).to.equal(true);
|
expect(searchParams.get('href').endsWith('googlelogo_color_272x92dp.png?token=abc')).to.equal(
|
||||||
|
true
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue