aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/react/test/react-component.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/react/test/react-component.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/react/test/react-component.test.js')
-rw-r--r--packages/integrations/react/test/react-component.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/integrations/react/test/react-component.test.js b/packages/integrations/react/test/react-component.test.js
index 44dbb138f..25a35f49d 100644
--- a/packages/integrations/react/test/react-component.test.js
+++ b/packages/integrations/react/test/react-component.test.js
@@ -54,7 +54,7 @@ describe('React Components', () => {
assert.equal(islandsWithChildren.length, 2);
assert.equal(
$(islandsWithChildren[0]).html(),
- $(islandsWithChildren[1]).find('astro-slot').html()
+ $(islandsWithChildren[1]).find('astro-slot').html(),
);
// test 11: Should generate unique React.useId per island
@@ -150,8 +150,8 @@ describe('React Components', () => {
`[/window]
The window object is not available during server-side rendering (SSR).
Try using \`import.meta.env.SSR\` to write SSR-friendly code.
- https://docs.astro.build/reference/api-reference/#importmeta`
- )
+ https://docs.astro.build/reference/api-reference/#importmeta`,
+ ),
);
});