Skip to content

Commit

Permalink
api(toHaveID): fix documentation typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Scott-Lassiter committed Jun 7, 2022
1 parent 5bae7f0 commit c0f731b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Matchers.Features.html
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ <h4 class="name" id=".toHaveID">
argument (single string, number, or RegExp provided), or any value within an
array of any combination of strings, numbers, or RegExp. The test fails if
the object does not have an ID, or if it has an ID that does not match the
searchID.
SearchID.
</div>

<h5>Examples</h5>
Expand Down
7 changes: 6 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,16 @@ <h2>Features</h2>
>toBeFeature</a
>
</li>
<li>
<a
href="https://m-scott-lassiter.github.io/jest-geojson/Matchers.Features.html#.toHaveID"
>toHaveID</a
>
</li>
</ul>
<hr />
<p><em>Future</em></p>
<ul>
<li>[ ] toHaveID</li>
<li>[ ] toHaveStringID</li>
<li>[ ] toHaveNumericID</li>
<li>[ ] toHaveProperties (array of [property, optional values])</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/matchers_features_toHaveID.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ <h1 class="page-title">matchers/features/toHaveID.js</h1>
* if the ID exactly matches the optional argument (single string, number, or RegExp provided), or any value
* within an array of any combination of strings, numbers, or RegExp.
*
* The test fails if the object does not have an ID, or if it has an ID that does not match the searchID.
* The test fails if the object does not have an ID, or if it has an ID that does not match the SearchID.
*
* @memberof Matchers.Features
* @see https://github.com/M-Scott-Lassiter/jest-geojson/issues/36
Expand Down
2 changes: 1 addition & 1 deletion src/matchers/features/toHaveID.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { hasID } = require('../../core/features/hasID')
* if the ID exactly matches the optional argument (single string, number, or RegExp provided), or any value
* within an array of any combination of strings, numbers, or RegExp.
*
* The test fails if the object does not have an ID, or if it has an ID that does not match the searchID.
* The test fails if the object does not have an ID, or if it has an ID that does not match the SearchID.
*
* @memberof Matchers.Features
* @see https://github.com/M-Scott-Lassiter/jest-geojson/issues/36
Expand Down

0 comments on commit c0f731b

Please sign in to comment.