Skip to content

Commit da51d53

Browse files
authored
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.
1 parent 070deb3 commit da51d53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/5/en/part5c.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ describe('<Togglable />', () => {
482482
const element = screen.getByText('togglable content')
483483
expect(element).toBeVisible()
484484
})
485+
})
485486
```
486487

487488
The _beforeEach_ function gets called before each test, which then renders the <i>Togglable</i> component.

0 commit comments

Comments
 (0)