Skip to content

Commit a6a8b10

Browse files
untangle syntax in intro.mdx
The simplest correction would be this: > [The Guiding Principles](/docs/guiding-principles) of this library emphasize a focus on tests that closely resemble how your web pages are interacted with by the users. but I'm guessing that the "with" was avoided since some people prefer not to use that sort of syntax (even though it's actually perfectly normal and conventional). So I'm proposing another alternative here that avoids putting two prepositions next to each other.
1 parent b5cc424 commit a6a8b10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/intro.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ Testing Library encourages you to avoid testing
4646
[implementation details](https://kentcdodds.com/blog/testing-implementation-details)
4747
like the internals of a component you're testing (though it's still possible).
4848
[The Guiding Principles](/docs/guiding-principles) of this library emphasize a
49-
focus on tests that closely resemble how your web pages are interacted by the
50-
users.
49+
focus on tests that closely resemble how users interact with your web pages.
5150

5251
You may want to avoid the following implementation details:
5352

0 commit comments

Comments
 (0)