From b26cc7e253abb0ad7e67e25ed2ed521a9f67b74a Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 17 Jul 2024 14:56:08 -0400 Subject: [PATCH] Fix smoke tests (#11484) --- packages/astro/src/runtime/server/render/astro/factory.ts | 2 +- scripts/smoke/check.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/runtime/server/render/astro/factory.ts b/packages/astro/src/runtime/server/render/astro/factory.ts index 52b438c2b6..8860bf1b15 100644 --- a/packages/astro/src/runtime/server/render/astro/factory.ts +++ b/packages/astro/src/runtime/server/render/astro/factory.ts @@ -7,7 +7,7 @@ export type AstroFactoryReturnValue = RenderTemplateResult | Response | HeadAndC // The callback passed to to $$createComponent export interface AstroComponentFactory { ( - result: SSRResult, + result: any, props: any, slots: any ): AstroFactoryReturnValue | Promise; diff --git a/scripts/smoke/check.js b/scripts/smoke/check.js index 128b1b4546..9a501de3ee 100644 --- a/scripts/smoke/check.js +++ b/scripts/smoke/check.js @@ -6,7 +6,7 @@ import * as path from 'node:path'; import pLimit from 'p-limit'; import { tsconfigResolverSync } from 'tsconfig-resolver'; -const skippedExamples = ['toolbar-app', 'component'] +const skippedExamples = ['toolbar-app', 'component', 'server-islands']; function checkExamples() { let examples = readdirSync('./examples', { withFileTypes: true });