Skip to content

Commit cd84fa9

Browse files
committed
docs: Fix punctuation
1 parent 7237537 commit cd84fa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface ReactMockExpectation<Props> {
1313
*
1414
* @see withProps
1515
*
16-
* If there are no matching expectations the component will render an
16+
* If there are no matching expectations, the component will render an
1717
* empty div.
1818
*/
1919
renders: (jsx: ReactNode | ((props: Props) => ReactNode)) => ReactStub<Props>;
@@ -28,7 +28,7 @@ export interface ReactMock<Props> {
2828
*
2929
* @param expected The expected props will be shallowly matched against
3030
* the props received by the component. They can be a subset of the
31-
* props to not expose private handlers e.g. when a parent
31+
* props to not expose private handlers, e.g., when a parent
3232
* component sends a private onClick handler to a Button component.
3333
*/
3434
withProps: (expected: DeepPartial<Props>) => ReactMockExpectation<Props>;

0 commit comments

Comments
 (0)