[ci] yarn format
This commit is contained in:
parent
5077ff2e11
commit
d46746c34f
2 changed files with 1 additions and 2 deletions
|
@ -716,7 +716,7 @@ async function compileHtml(enterNode: TemplateNode, state: CodegenState, compile
|
|||
buffers[curr] += `h(${componentName}, ${attributes ? generateAttributes(attributes) : 'null'}`;
|
||||
return;
|
||||
} else if (!state.declarations.has(componentName) && !componentInfo && !isCustomElementTag(componentName)) {
|
||||
throw new Error(`Unable to render "${componentName}" because it is undefined\n ${state.filename}`)
|
||||
throw new Error(`Unable to render "${componentName}" because it is undefined\n ${state.filename}`);
|
||||
}
|
||||
if (componentName === 'Markdown') {
|
||||
const { $scope } = attributes ?? {};
|
||||
|
|
|
@ -26,7 +26,6 @@ Components('Astro components are able to render framework components', async ({
|
|||
assert.not.type($svelte, 'undefined', 'Renders Svelte component');
|
||||
});
|
||||
|
||||
|
||||
Components('Allows Components defined in frontmatter', async ({ runtime }) => {
|
||||
const result = await runtime.load('/frontmatter-component');
|
||||
const html = result.contents;
|
||||
|
|
Loading…
Reference in a new issue