From 69ea36005d6dfe86014f981a2e42fc75886ef776 Mon Sep 17 00:00:00 2001 From: domyen Date: Sat, 8 Oct 2022 13:42:32 -0400 Subject: [PATCH] Refine sentence --- docs/writing-tests/interaction-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/writing-tests/interaction-testing.md b/docs/writing-tests/interaction-testing.md index a55a0596bf6..86d98af29b8 100644 --- a/docs/writing-tests/interaction-testing.md +++ b/docs/writing-tests/interaction-testing.md @@ -173,7 +173,7 @@ Interaction tests can be expensive to maintain when applied wholesale to every c #### What's the difference between interaction tests and using Jest + Testing Library alone? -Interaction tests integrate Jest and Testing Library into Storybook. The biggest benefit is the ability to view the component you're testing in a real browser. That helps you debug visually, instead of getting a dump of the (fake) DOM in the command line. You also avoid the limitations of how JSDOM mocks browser functionality. It's also more convenient to keep stories and tests together in one file than having them spread across files. +Interaction tests integrate Jest and Testing Library into Storybook. The biggest benefit is the ability to view the component you're testing in a real browser. That helps you debug visually, instead of getting a dump of the (fake) DOM in the command line and avoid the limitations of how JSDOM mocks browser functionality. It's also more convenient to keep stories and tests together in one file than having them spread across files. #### Learn about other UI tests