From 3832c083d4a5fba22deccffaab5e9d1d8e09412f Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 28 Sep 2022 23:54:40 +0800 Subject: [PATCH] Fix test (#4904) --- packages/astro/test/fixtures/astro-slots-nested/package.json | 4 +++- pnpm-lock.yaml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/astro/test/fixtures/astro-slots-nested/package.json b/packages/astro/test/fixtures/astro-slots-nested/package.json index 844b58bea..01d48eb6e 100644 --- a/packages/astro/test/fixtures/astro-slots-nested/package.json +++ b/packages/astro/test/fixtures/astro-slots-nested/package.json @@ -3,7 +3,9 @@ "version": "0.0.0", "private": true, "dependencies": { + "@astrojs/react": "workspace:*", "astro": "workspace:*", - "@astrojs/react": "workspace:*" + "react": "^18.2.0", + "react-dom": "^18.2.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 84d57b238..98ba35f22 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1468,9 +1468,13 @@ importers: specifiers: '@astrojs/react': workspace:* astro: workspace:* + react: ^18.2.0 + react-dom: ^18.2.0 dependencies: '@astrojs/react': link:../../../../integrations/react astro: link:../../.. + react: 18.2.0 + react-dom: 18.2.0_react@18.2.0 packages/astro/test/fixtures/before-hydration: specifiers: