diff options
Diffstat (limited to 'packages/integrations/image/test/image-ssr-build.test.js')
-rw-r--r-- | packages/integrations/image/test/image-ssr-build.test.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/integrations/image/test/image-ssr-build.test.js b/packages/integrations/image/test/image-ssr-build.test.js index 4b985c0ad..f85373c27 100644 --- a/packages/integrations/image/test/image-ssr-build.test.js +++ b/packages/integrations/image/test/image-ssr-build.test.js @@ -29,6 +29,12 @@ describe('SSR images - build', async function () { query: { f: 'webp', w: '768', h: '414', href: /^\/_astro\/introducing astro.\w{8}.jpg/ }, }, { + title: 'SVG image', + id: '#logo-svg', + url: '/_image', + query: { f: 'svg', w: '192', h: '256', href: /^\/_astro\/logo.\w{8}.svg/ }, + }, + { title: 'Inline imports', id: '#inline', url: '/_image', @@ -145,6 +151,12 @@ describe('SSR images with subpath - build', function () { }, }, { + title: 'SVG image', + id: '#logo-svg', + url: '/_image', + query: { f: 'svg', w: '192', h: '256', href: /^\/docs\/_astro\/logo.\w{8}.svg/ }, + }, + { title: 'Inline imports', id: '#inline', url: '/_image', |