From da51d53ef9128387aeff3d72ccb7801bb45494b6 Mon Sep 17 00:00:00 2001 From: Adam Farhadi Date: Fri, 7 Nov 2025 15:30:07 +0200 Subject: [PATCH] Missing close parenthesis and close curly brace in Togglable test in part 5c Missing close parenthesis and close curly brace in Togglable test in part 5c. If you try and copy and paste the code into Togglable.test.jsx without the close parenthesis and close curly brace you will get a syntax error when running the test. --- src/content/5/en/part5c.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/5/en/part5c.md b/src/content/5/en/part5c.md index d2c62c0b8ec..b25a1772e0c 100644 --- a/src/content/5/en/part5c.md +++ b/src/content/5/en/part5c.md @@ -482,6 +482,7 @@ describe('', () => { const element = screen.getByText('togglable content') expect(element).toBeVisible() }) +}) ``` The _beforeEach_ function gets called before each test, which then renders the Togglable component.