0
Fork 0
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:
Bjorn Lu 2023-06-13 22:47:24 +08:00 committed by GitHub
parent c9689d2a76
commit fc441349e4
2 changed files with 8 additions and 7 deletions

View file

@ -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(),
},
});

View file

@ -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(),
});