Skip to content

Commit

Permalink
[Docs] add missing backticks to linked method names
Browse files Browse the repository at this point in the history
  • Loading branch information
azhuologist authored and ljharb committed Jun 18, 2019
1 parent 4d856a3 commit 4cad446
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `.html() => String`

Returns a string of the rendered HTML markup of the current render tree. See also [.debug()](debug.md)
Returns a string of the rendered HTML markup of the current render tree. See also [`.debug()`](debug.md)

Note: can only be called on a wrapper of a single node.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/isEmpty.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# `.isEmpty() => Boolean`
**Deprecated**: Use [.exists()](exists.md) instead.
**Deprecated**: Use [`.exists()`](exists.md) instead.

Returns whether or not the wrapper is empty.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Shallow render the one non-DOM child of the current wrapper, and return a wrappe

There is no corresponding `dive` method for ReactWrappers.

NOTE: can only be called on a wrapper of a single non-DOM component element node, otherwise it will throw an error. If you have to shallow-wrap a wrapper with multiple child nodes, use [.shallow()](shallow.md).
NOTE: can only be called on a wrapper of a single non-DOM component element node, otherwise it will throw an error. If you have to shallow-wrap a wrapper with multiple child nodes, use [`.shallow()`](shallow.md).


#### Arguments
Expand Down
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/isEmpty.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# `.isEmpty() => Boolean`
**Deprecated**: Use [.exists()](exists.md) instead.
**Deprecated**: Use [`.exists()`](exists.md) instead.

Returns whether or not the wrapper is empty.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Returns whether or not the current node matches a provided selector.
Returns whether or not the current node exists, or, if given a selector, whether that selector has any matching results.

#### [`.isEmpty() => Boolean`](ReactWrapper/isEmpty.md)
*Deprecated*: Use [.exists()](ReactWrapper/exists.md) instead.
*Deprecated*: Use [`.exists()`](ReactWrapper/exists.md) instead.

#### [`.isEmptyRender() => Boolean`](ReactWrapper/isEmptyRender.md)
Returns whether or not the current component returns a falsy value.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ wrapper.find({ foo: 3, bar: undefined });
// => TypeError: Enzyme::Props can't have 'undefined' values. Try using 'findWhere()' instead.
```

If you have to search by `undefined` property value, use [.findWhere()](ShallowWrapper/findWhere.md).
If you have to search by `undefined` property value, use [`.findWhere()`](ShallowWrapper/findWhere.md).
2 changes: 1 addition & 1 deletion docs/api/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Returns whether or not the current node matches a provided selector.
Returns whether or not the current node exists, or, if given a selector, whether that selector has any matching results.

#### [`.isEmpty() => Boolean`](ShallowWrapper/isEmpty.md)
*Deprecated*: Use [.exists()](ShallowWrapper/exists.md) instead.
*Deprecated*: Use [`.exists()`](ShallowWrapper/exists.md) instead.

#### [`.isEmptyRender() => Boolean`](ShallowWrapper/isEmptyRender.md)
Returns whether or not the current component returns a falsy value.
Expand Down

0 comments on commit 4cad446

Please sign in to comment.