aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/test/units/rehype-optimize-static.test.js
diff options
context:
space:
mode:
authorGravatar Darius <19603573+itsMapleLeaf@users.noreply.github.com> 2024-08-08 05:12:50 -0500
committerGravatar GitHub <noreply@github.com> 2024-08-08 12:12:50 +0200
commit72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch)
tree6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/integrations/mdx/test/units/rehype-optimize-static.test.js
parent85de47cd982fd13c6286bcc0be384a220996ccbd (diff)
downloadastro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip
update formatter config (#11640)
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/mdx/test/units/rehype-optimize-static.test.js')
-rw-r--r--packages/integrations/mdx/test/units/rehype-optimize-static.test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/mdx/test/units/rehype-optimize-static.test.js b/packages/integrations/mdx/test/units/rehype-optimize-static.test.js
index 675bc3478..6121975a4 100644
--- a/packages/integrations/mdx/test/units/rehype-optimize-static.test.js
+++ b/packages/integrations/mdx/test/units/rehype-optimize-static.test.js
@@ -36,7 +36,7 @@ describe('rehype-optimize-static', () => {
`\
<_components.h1 {...{
"set:html": "hello"
-}} />`
+}} />`,
);
});
@@ -50,7 +50,7 @@ foo bar
jsx,
`\
<Fragment set:html="<h1>hello</h1>
-<p>foo bar</p>" />`
+<p>foo bar</p>" />`,
);
});
@@ -66,7 +66,7 @@ This is a <Comp />
jsx,
`\
<><Fragment set:html="<h1>hello</h1>
-" /><_components.p>{"This is a "}<Comp /></_components.p></>`
+" /><_components.p>{"This is a "}<Comp /></_components.p></>`,
);
});
@@ -83,7 +83,7 @@ foo <strong>bar</strong> baz
`\
<Fragment set:html="<h1>hello</h1>
<p>foo <strong>bar</strong> baz</p>
-<strong>qux</strong>" />`
+<strong>qux</strong>" />`,
);
});
});