summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-07-28 18:32:50 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-07-28 18:32:50 +0000
commit73c28a36e50768fdc7a328514b970c84b3844e65 (patch)
treefda6ece322418ebc1afa4817475199dbe0d333db
parent829d5baafe45273c150c32c9287fadaf9676d404 (diff)
downloadastro-73c28a36e50768fdc7a328514b970c84b3844e65.tar.gz
astro-73c28a36e50768fdc7a328514b970c84b3844e65.tar.zst
astro-73c28a36e50768fdc7a328514b970c84b3844e65.zip
[ci] yarn format
-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}`);