Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Sep 23, 2021
1 parent ad63605 commit 35b173e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dev": "astro-scripts dev \"src/**/*.ts\"",
"postbuild": "astro-scripts copy \"src/**/*.astro\"",
"benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js",
"test": "mocha --parallel --timeout 15000"
"test": "mocha --parallel --timeout 15000 -g \"Astro basics\""
},
"dependencies": {
"@astrojs/compiler": "^0.1.0-canary.45",
Expand Down
1 change: 1 addition & 0 deletions packages/astro/src/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const renderSlot = async (result: any, slotted: string, fallback?: any) =
};

export const renderComponent = async (result: any, displayName: string, Component: unknown, _props: Record<string | number, any>, slots?: any) => {
console.log({ result });
Component = await Component;
// children = await renderGenerator(children);
const { renderers } = result._metadata;
Expand Down

0 comments on commit 35b173e

Please sign in to comment.