diff --git a/packages/astro/test/view-transitions.test.js b/packages/astro/test/view-transitions.test.js index d0c32b0df..6d4d19cbb 100644 --- a/packages/astro/test/view-transitions.test.js +++ b/packages/astro/test/view-transitions.test.js @@ -13,7 +13,7 @@ describe('View Transitions styles', () => { after(async () => { await devServer.stop(); - }) + }); it('style tag added for each instance of the component', async () => { let res = await fixture.fetch('/multiple'); diff --git a/packages/integrations/markdoc/components/TreeNode.ts b/packages/integrations/markdoc/components/TreeNode.ts index 80940bc07..01bd20d71 100644 --- a/packages/integrations/markdoc/components/TreeNode.ts +++ b/packages/integrations/markdoc/components/TreeNode.ts @@ -92,13 +92,11 @@ export const ComponentNode = createComponent({ // `result.propagators` has been moved to `result._metadata.propagators` // TODO: remove this fallback in the next markdoc integration major const propagators = result._metadata.propagators || result.propagators; - propagators.add( - { - init() { - return headAndContent; - }, - } - ); + propagators.add({ + init() { + return headAndContent; + }, + }); return headAndContent; }