From 22fae5211ac77caab1b3227a64231bc2540bcbef Mon Sep 17 00:00:00 2001 From: matthewp Date: Mon, 2 Oct 2023 12:54:01 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/view-transitions.test.js | 2 +- packages/integrations/markdoc/components/TreeNode.ts | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/astro/test/view-transitions.test.js b/packages/astro/test/view-transitions.test.js index d0c32b0dff..6d4d19cbbf 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 80940bc071..01bd20d71b 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; }