Skip to content

Commit 02fc308

Browse files
mcoustimdeschryver
andauthored
fixup: fix typos
Co-authored-by: Tim Deschryver <[email protected]>
1 parent 9772faf commit 02fc308

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/svelte-testing-library/api.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ If you only need to send props to your component, you may pass props directly,
3535
as long as those props don't share a name with a component option.
3636

3737
```js
38-
// pass props to component
38+
// pass props to the component
3939
render(YourComponent, {myProp: 'value'})
4040

41-
// pass props and other options to component
41+
// pass props and other options to the component
4242
render(YourComponent, {
4343
props: {myProp: 'value'},
4444
context: new Map([[('theme': 'dark')]]),
@@ -131,7 +131,7 @@ API][svelte-component-api] for more details.
131131

132132
:::tip
133133

134-
Avoid using `component` except to test developer facing API's, like exported
134+
Avoid using `component` except to test developer-facing APIs, like exported
135135
functions. Instead, interact with the DOM. Read [Avoid the Test User][test-user]
136136
by Kent C. Dodds to understand the difference between the **end user** and
137137
**developer user**.

0 commit comments

Comments
 (0)