Skip to content
This repository was archived by the owner on Aug 1, 2020. It is now read-only.

Commit dcfd340

Browse files
committed
add docusaurus versions
1 parent 58588c1 commit dcfd340

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

docs/api-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ fireEvent[eventName](node: FiberRoot, eventProperties: NativeEvent)
2020
```
2121

2222
Convenience methods for firing events. Check out
23-
[src/events.js](https://github.com/testing-library/native-testing-library/blob/master/src/events.js) for
24-
a full list as well as `validTargets` for every event type.
23+
[src/events.js](https://github.com/testing-library/native-testing-library/blob/master/src/events.js)
24+
for a full list as well as `validTargets` for every event type.
2525

2626
```javascript
2727
import { fireEvent, render } from 'native-testing-library';

docs/cheat-sheet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ copy of it on your desk to quickly take a peek at the most commonly used functio
1010

1111
[Download the cheat sheet][cheatsheet]
1212

13-
[cheatsheet]: https://github.com/testing-library/native-testing-library/raw/master/other/cheat-sheet.pdf
13+
[cheatsheet]:
14+
https://github.com/testing-library/native-testing-library/raw/master/other/cheat-sheet.pdf

docs/ecosystem-jest-native.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ expect(getByText(baseElement, 'Visible Example')).toBeVisible();
2727
> `queryByTestId`) rather than a get function (like `getByTestId`). Otherwise the `get*` function
2828
> could throw an error before your assertion.
2929
30-
Check out [jest-native's documentation](https://github.com/testing-library/jest-native) for a full list
31-
of available matchers.
30+
Check out [jest-native's documentation](https://github.com/testing-library/jest-native) for a full
31+
list of available matchers.
3232

3333
- [jest-native on GitHub](https://github.com/testing-library/jest-native)

docs/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ file that re-exports everything from `native-testing-library`. You can replace
2323
[below](#configuring-jest-with-test-utils) for a way to make your test util file accessible without
2424
using relative paths.
2525

26-
The example below sets up data providers using the [`wrapper`](api-render.md#render-options) option to
27-
`render`.
26+
The example below sets up data providers using the [`wrapper`](api-render.md#render-options) option
27+
to `render`.
2828

2929
```diff
3030
// my-component.test.js

website/core/Footer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ class Footer extends React.Component {
8080
Star
8181
</a>
8282
<a href="https://github.com/testing-library/native-testing-library">GitHub</a>
83-
<a href="https://github.com/testing-library/native-testing-library-docs">Edit the docs</a>
83+
<a href="https://github.com/testing-library/native-testing-library-docs">
84+
Edit the docs
85+
</a>
8486
</div>
8587
</section>
8688
<section className="copyright">{this.props.config.copyright}</section>

0 commit comments

Comments
 (0)