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

Commit 64d8a20

Browse files
committed
chore: add github templates [ci skip]
1 parent 77155c2 commit 64d8a20

File tree

6 files changed

+140
-3
lines changed

6 files changed

+140
-3
lines changed

.github/ISSUE_TEMPLATE/Bug_Report.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: 🐛 Bug Report
3+
about: I think something is broken 😡
4+
---
5+
6+
<!--
7+
8+
* Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted!
9+
10+
* Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file).
11+
12+
We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request
13+
-->
14+
15+
- `react-native` or `expo`:
16+
- `native-testing-library` version:
17+
- `react-native` version:
18+
- `node` version:
19+
- `npm` (or `yarn`) version:
20+
21+
### Relevant code or config:
22+
23+
```js
24+
const your = code => 'here';
25+
```
26+
27+
### What you did:
28+
29+
<!-- How did you come across this bug? -->
30+
31+
### What happened:
32+
33+
<!-- Please provide the full error message/screenshots/anything else that might help -->
34+
35+
### Reproduction:
36+
37+
<!-- If possible, please create a repository that reproduces the issue with the minimal amount of code possible. -->
38+
39+
### Problem description:
40+
41+
<!-- Please describe why the current behavior is a problem -->
42+
43+
### Suggested solution:
44+
45+
<!-- It's ok if you don't have a suggested solution, but it really helps if you could do a little digging to come up with some suggestion of how to improve things. -->
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: 💡 Feature Request
3+
about: I think something could be better 🤔
4+
---
5+
6+
<!--
7+
8+
* Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted!
9+
10+
* Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file).
11+
12+
It'd be great if after the discussion you're the one who submits the PR that implements this feature. If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request
13+
14+
-->
15+
16+
**Describe the feature you'd like:**
17+
18+
<!-- A clear and concise description of what you want to happen. Add any considered drawbacks. -->
19+
20+
**Suggested implementation:**
21+
22+
<!-- Helpful but optional 😀 -->
23+
24+
**Describe alternatives you've considered:**
25+
26+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
27+
28+
**Teachability, Documentation, Adoption, Migration Strategy:**
29+
30+
<!-- If you can, explain how users will be able to use this and possibly write out a version of the docs. -->

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: ❓ Support Question
3+
about: I think I don't understand how to do something 🤨
4+
---
5+
6+
<!-- ---------- 👆 Click "Preview"! -->
7+
8+
Issues on GitHub are intended to be related to problems and feature requests so we ask you not use
9+
issues to ask for support.
10+
11+
Remember that this library is almost entirely the same as `react-testing-library` so you're likely
12+
to get some great advice by searching for how to do something with it.
13+
14+
---
15+
16+
## ❓ React Testing Library Resources
17+
18+
- React Spectrum https://spectrum.chat/react-testing-library
19+
- Reactiflux on Discord https://www.reactiflux.com
20+
- Stack Overflow https://stackoverflow.com/questions/tagged/react-testing-library
21+
22+
## ❓ Native Testing Library Resources
23+
24+
- Stack Overflow https://stackoverflow.com/questions/tagged/native-testing-library
25+
26+
**ISSUES WHICH ARE QUESTIONS WILL BE CLOSED**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!--
2+
3+
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!
4+
5+
Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file).
6+
7+
Please fill out the information below to expedite the review and (hopefully) merge of your pull request!
8+
9+
-->
10+
11+
**What**:
12+
13+
<!-- What changes are being made? (What feature/bug is being fixed here?) -->
14+
15+
**Why**:
16+
17+
<!-- Why are these changes necessary? -->
18+
19+
**How**:
20+
21+
<!-- How were these changes implemented? -->
22+
23+
**Checklist**:
24+
25+
<!-- Have you done all of these things? -->
26+
<!-- Add "(N/A)" to the end of each line that's irrelevant to your changes -->
27+
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
28+
29+
- [ ] Documentation added to the
30+
[docs site](https://github.com/bcarroll22/native-testing-library-docs)
31+
- [ ] Typescript definitions updated
32+
- [ ] Tests
33+
- [ ] Ready to be merged <!-- In your opinion -->
34+
35+
<!-- feel free to add additional comments -->

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ that library with this one somehow.
166166

167167
## Other Solutions
168168

169-
* [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)
170-
* [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)
169+
- [`react-native-testing-library`](https://github.com/callstack/react-native-testing-library)
170+
- [`enzyme`](https://airbnb.io/enzyme/docs/guides/react-native.html)
171171

172172
## Guiding Principles
173173

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
"printWidth": 100,
7979
"singleQuote": true,
8080
"trailingComma": "all",
81-
"tabWidth": 2
81+
"tabWidth": 2,
82+
"proseWrap": "always"
8283
},
8384
"release": {
8485
"branch": "master",

0 commit comments

Comments
 (0)