Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Nov 19, 2024
1 parent f394538 commit e3f859b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { glob } from 'astro/loaders';
const reptiles = defineCollection({
loader: glob({
pattern: '*.mdx',
base: new URL('../../content-outside-src-mdx', import.meta.url),
base: new URL('../content-outside-src-mdx', import.meta.url),
}),
schema: () =>
z.object({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const collections = { blog };
const fixture = await createFixture({
...baseFileTree,
'/src/content/banners/welcome.json': `{ "src": "/example", "alt": "Welcome" }`,
'/src/content.config.ts': `\
'/src/content/config.ts': `\
import { z, defineCollection } from 'astro:content';
const banners = defineCollection({
Expand Down

0 comments on commit e3f859b

Please sign in to comment.