diff options
author | 2023-04-05 16:50:32 +0200 | |
---|---|---|
committer | 2023-04-05 16:50:32 +0200 | |
commit | b96a129581cc242487938375e1e1fe862d3ddfc4 (patch) | |
tree | 54f976b1df7cef0cdf2ffc4b31ad0837cc2d7061 | |
parent | c6c5f0dd023daf8c09be891fbde831019eda9e70 (diff) | |
download | astro-b96a129581cc242487938375e1e1fe862d3ddfc4.tar.gz astro-b96a129581cc242487938375e1e1fe862d3ddfc4.tar.zst astro-b96a129581cc242487938375e1e1fe862d3ddfc4.zip |
test: remove outdated image() import (#6761)
-rw-r--r-- | packages/astro/test/fixtures/astro-assets-prefix/src/content/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/fixtures/astro-assets-prefix/src/content/config.ts b/packages/astro/test/fixtures/astro-assets-prefix/src/content/config.ts index d82c39786..185048665 100644 --- a/packages/astro/test/fixtures/astro-assets-prefix/src/content/config.ts +++ b/packages/astro/test/fixtures/astro-assets-prefix/src/content/config.ts @@ -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(), }), |