summaryrefslogtreecommitdiff
path: root/packages/integrations/react/test/react-component.test.js
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2024-10-08 10:12:40 +0100
committerGravatar GitHub <noreply@github.com> 2024-10-08 10:12:40 +0100
commit2a1536d0911e6d3db6666dfeb4ee697429078c1e (patch)
treecbf410a3a53c0a2e4fef4ebaa0ebdd904e179d9b /packages/integrations/react/test/react-component.test.js
parent91ecad2cc7f7cd514e903f06f2365142b555ed52 (diff)
downloadastro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.tar.gz
astro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.tar.zst
astro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.zip
chore: move lint rules to Biome (#12145)
* chore: move lint rules to Astro * better suppression system * revert * format code * address more linting files * address more linting files
Diffstat (limited to 'packages/integrations/react/test/react-component.test.js')
-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