mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
Use stub image service for tests (#7376)
This commit is contained in:
parent
c9689d2a76
commit
fc441349e4
2 changed files with 8 additions and 7 deletions
|
@ -1,9 +1,13 @@
|
|||
import vercel from '@astrojs/vercel/static';
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { testImageService } from '../../../../../astro/test/test-image-service.js';
|
||||
|
||||
export default defineConfig({
|
||||
adapter: vercel({imageService: true}),
|
||||
experimental: {
|
||||
assets: true
|
||||
}
|
||||
assets: true,
|
||||
},
|
||||
image: {
|
||||
service: testImageService(),
|
||||
},
|
||||
});
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
import vercel from '@astrojs/vercel/static';
|
||||
import { defineConfig } from 'astro/config';
|
||||
import vercel from '@astrojs/vercel/static';
|
||||
|
||||
export default defineConfig({
|
||||
adapter: vercel({imageService: true}),
|
||||
experimental: {
|
||||
assets: true
|
||||
}
|
||||
adapter: vercel(),
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue