From 73c28a36e50768fdc7a328514b970c84b3844e65 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 28 Jul 2021 18:32:50 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/snowpack-plugin-jsx.cjs | 2 +- packages/astro/test/preact-component.test.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/astro/snowpack-plugin-jsx.cjs b/packages/astro/snowpack-plugin-jsx.cjs index 9c3e51079..da373e131 100644 --- a/packages/astro/snowpack-plugin-jsx.cjs +++ b/packages/astro/snowpack-plugin-jsx.cjs @@ -94,7 +94,7 @@ Unable to resolve a renderer that handles JSX transforms! Please include a \`ren } // we need valid JS here, so we can use `h` and `Fragment` as placeholders - // NOTE(fks, matthewp): Make sure that you're transforming the original contents here. + // NOTE(fks, matthewp): Make sure that you're transforming the original contents here. const { code: codeToScan } = await esbuild.transform(contents + PREVENT_UNUSED_IMPORTS, { loader, jsx: 'transform', diff --git a/packages/astro/test/preact-component.test.js b/packages/astro/test/preact-component.test.js index 9ef02cad0..021b7e8a5 100644 --- a/packages/astro/test/preact-component.test.js +++ b/packages/astro/test/preact-component.test.js @@ -32,7 +32,6 @@ PreactComponent('Can load TS component', async ({ runtime }) => { assert.equal($('.ts-component').length, 1, 'Can use TS components'); }); - PreactComponent('Can use hooks', async ({ runtime }) => { const result = await runtime.load('/hooks'); assert.ok(!result.error, `build error: ${result.error}`);