mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Update testing-recipes.md (#2616)
This commit is contained in:
committed by
Alex Krolick
parent
a251ef1c4c
commit
8af118139e
@@ -529,7 +529,7 @@ it("should accept selections", () => {
|
||||
|
||||
act(() => {
|
||||
container
|
||||
.querySelector("[data-testid=2]")
|
||||
.querySelector("[data-testid='2']")
|
||||
.dispatchEvent(new MouseEvent("click", { bubbles: true }));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user