We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3968d4 commit a2b6848Copy full SHA for a2b6848
docs/angular-testing-library/api.mdx
@@ -335,7 +335,7 @@ const {rerender} = await render(Counter, {
335
expect(screen.getByTestId('count-value').textContent).toBe('4')
336
expect(screen.getByTestId('name-value').textContent).toBe('Sarah')
337
338
-rerender({count: 7})
+await rerender({count: 7})
339
340
// count updated to 7
341
expect(screen.getByTestId('count-value').textContent).toBe('7')
0 commit comments