summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/snowpack-plugin-jsx.cjs2
-rw-r--r--packages/astro/test/preact-component.test.js1
2 files changed, 1 insertions, 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}`);