[ci] yarn format

This commit is contained in:
matthewp 2021-07-28 18:32:50 +00:00 committed by GitHub Actions
parent 829d5baafe
commit 73c28a36e5
2 changed files with 1 additions and 2 deletions

View file

@ -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',

View file

@ -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}`);