test: remove outdated image() import (#6761)

This commit is contained in:
Erika 2023-04-05 16:50:32 +02:00 committed by GitHub
parent c6c5f0dd02
commit b96a129581
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
import { defineCollection, z, image } from "astro:content";
import { defineCollection, z } from "astro:content";
const blogCollection = defineCollection({
schema: z.object({
schema: ({image}) => z.object({
title: z.string(),
cover: image(),
}),