From 8af118139e33e2051ec8f790c81c3a0091a7ea2f Mon Sep 17 00:00:00 2001 From: shixiaomiaomiao Date: Thu, 19 Dec 2019 03:19:58 +0800 Subject: [PATCH] Update testing-recipes.md (#2616) --- content/docs/testing-recipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/testing-recipes.md b/content/docs/testing-recipes.md index 0ce5e205..f666116e 100644 --- a/content/docs/testing-recipes.md +++ b/content/docs/testing-recipes.md @@ -529,7 +529,7 @@ it("should accept selections", () => { act(() => { container - .querySelector("[data-testid=2]") + .querySelector("[data-testid='2']") .dispatchEvent(new MouseEvent("click", { bubbles: true })); });