Skip to content

Commit

Permalink
fix wrong lines highlighted redwoodjs#2.
Browse files Browse the repository at this point in the history
  • Loading branch information
exzachlyvv committed Jul 29, 2022
1 parent 3472f61 commit 2cc8ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ it('renders a link with a name', () => {

But what if we wanted to check the `href` of the link itself to be sure it's correct? In that case we can capture the `screen.getByRole()` return and run expectations on that as well (the `forEach()` loop has been removed here for simplicity):

```jsx {2,6-8}
```jsx {1,6-8}
import { routes } from '@redwoodjs/router'

it('renders a link with a name', () => {
Expand Down

0 comments on commit 2cc8ffd

Please sign in to comment.