Skip to content

Commit 8605426

Browse files
Fix Astro integration test by pinning zod-to-json-schema (#14780)
A regression in one of the dependencies of `astro` has broken our integration tests. An upstream issue already exists and is tracked as StefanTerdell/zod-to-json-schema#151. This PR pins `zod-to-json-schema` to unblock the issue. ## Test Plan 1. I made sure that `pnpm test:integrations astro` fails locally as well 2. After the change, it passes again: ![Screenshot 2024-10-24 at 17.16.27.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/0Y77ilPI2WoJfMLFiAEw/3a35eca7-8d31-41e0-b961-c1fd1ed55ba6.png)
1 parent 39cfcfa commit 8605426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integrations/vite/astro.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ test(
1212
"astro": "^4.15.2",
1313
"@tailwindcss/vite": "workspace:^",
1414
"tailwindcss": "workspace:^"
15+
},
16+
"pnpm": {
17+
"overrides": {
18+
"zod-to-json-schema": "3.23.3"
19+
}
1520
}
1621
}
1722
`,

0 commit comments

Comments
 (0)