diff --git a/docs/guides/core-concepts/writing-and-organizing-tests.mdx b/docs/guides/core-concepts/writing-and-organizing-tests.mdx index 7895349583..9efcd7d58c 100644 --- a/docs/guides/core-concepts/writing-and-organizing-tests.mdx +++ b/docs/guides/core-concepts/writing-and-organizing-tests.mdx @@ -737,7 +737,7 @@ You can dynamically generate tests using JavaScript. ```javascript describe('if your app uses jQuery', () => { - ;['mouseover', 'mouseout', 'mouseenter', 'mouseleave'].forEach((event) => { + ['mouseover', 'mouseout', 'mouseenter', 'mouseleave'].forEach((event) => { it('triggers event: ' + event, () => { // if your app uses jQuery, then we can trigger a jQuery // event that causes the event callback to fire