summaryrefslogtreecommitdiff
path: root/packages/integrations/react/test
diff options
context:
space:
mode:
authorGravatar bluwy <bjornlu.dev@gmail.com> 2024-10-10 21:28:25 +0800
committerGravatar bluwy <bjornlu.dev@gmail.com> 2024-10-10 21:28:25 +0800
commit9fc86e543a6e4d0c6d4c6acaf7502f00a11da270 (patch)
tree33d8508cf7a667d55a92475774e58510f5b68210 /packages/integrations/react/test
parent15fa9babf31a9b8ab8fc8e611c931c178137e2f9 (diff)
parent582f12e1f6f99b54865a0b24d804ee0924f4ef55 (diff)
downloadastro-9fc86e543a6e4d0c6d4c6acaf7502f00a11da270.tar.gz
astro-9fc86e543a6e4d0c6d4c6acaf7502f00a11da270.tar.zst
astro-9fc86e543a6e4d0c6d4c6acaf7502f00a11da270.zip
Merge branch 'main' into next
Diffstat (limited to 'packages/integrations/react/test')
-rw-r--r--packages/integrations/react/test/react-component.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/react/test/react-component.test.js b/packages/integrations/react/test/react-component.test.js
index 25a35f49d..fbe88d65f 100644
--- a/packages/integrations/react/test/react-component.test.js
+++ b/packages/integrations/react/test/react-component.test.js
@@ -46,7 +46,7 @@ describe('React Components', () => {
assert.equal($('astro-island[uid]').length, 9);
// test 9: Check island deduplication
- const uniqueRootUIDs = new Set($('astro-island').map((i, el) => $(el).attr('uid')));
+ const uniqueRootUIDs = new Set($('astro-island').map((_i, el) => $(el).attr('uid')));
assert.equal(uniqueRootUIDs.size, 8);
// test 10: Should properly render children passed as props