Skip to content

Commit 7667d5f

Browse files
committed
docs: use vanity URL for Discord
1 parent 8a0fbc1 commit 7667d5f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ to get some great advice by searching for how to do something with it.
1515

1616
## ❓ React Testing Library Resources
1717

18-
- Discord https://discord.gg/c6JN9fM
18+
- Discord https://discord.gg/testing-library
1919
- Stack Overflow https://stackoverflow.com/questions/tagged/react-testing-library
2020

2121
## ❓ Testing Library Resources

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors)
2525
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
2626
[![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/testing-library/jest-native/blob/master/CODE_OF_CONDUCT.md)
27-
[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/c6JN9fM)
27+
[![Discord](https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square)](https://discord.gg/testing-library)
2828

2929
[![Watch on GitHub](https://img.shields.io/github/watchers/testing-library/jest-native.svg?style=social)](https://github.com/testing-library/jest-native/watchers)
3030
[![Star on GitHub](https://img.shields.io/github/stars/testing-library/jest-native.svg?style=social)](https://github.com/testing-library/jest-native/stargazers)
@@ -87,8 +87,8 @@ package.
8787
## Usage
8888

8989
Import `@testing-library/jest-native/extend-expect` once (for instance in your
90-
[tests setup file](https://jestjs.io/docs/en/configuration.html#setupfilesafterenv-array))
91-
and you're good to go:
90+
[tests setup file](https://jestjs.io/docs/en/configuration.html#setupfilesafterenv-array)) and
91+
you're good to go:
9292

9393
```javascript
9494
import '@testing-library/jest-native/extend-expect';
@@ -127,7 +127,7 @@ React Native [0.62](https://reactnative.dev/blog/2020/03/26/version-0.62#breakin
127127
```javascript
128128
const { getByTestId } = render(
129129
<View>
130-
<Button disabled testID="button" title="submit" onPress={e => e} />
130+
<Button disabled testID="button" title="submit" onPress={(e) => e} />
131131
<TextInput accessibilityState={{ disabled: true }} testID="input" value="text" />
132132
</View>,
133133
);
@@ -151,7 +151,7 @@ Works similarly to `expect().not.toBeDisabled()`.
151151
```javascript
152152
const { getByTestId } = render(
153153
<View>
154-
<Button testID="button" title="submit" onPress={e => e} />
154+
<Button testID="button" title="submit" onPress={(e) => e} />
155155
<TextInput testID="input" value="text" />
156156
</View>,
157157
);

0 commit comments

Comments
 (0)