Skip to content

Commit 547eef6

Browse files
authored
docs: update links and re-add typings section (#700)
Co-authored-by: Sam Tsai <satsai@cisco.com>
1 parent 3d9be67 commit 547eef6

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Reproduction repository:
7676
<!--
7777
If possible, please create a repository that reproduces the issue with the
7878
minimal amount of code possible. You may fork the template here:
79-
https://github.com/alexkrolick/dom-testing-library-template
79+
https://github.com/testing-library/dom-testing-library-template
8080
8181
Or if you can, try to reproduce the issue in a codesandbox. You can fork the
8282
one here: https://codesandbox.io/s/5z6x4r7n0p

.github/ISSUE_TEMPLATE/Bug_Report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var your => (code) => here;
4646

4747
<!--
4848
If this is an issue with documentation, please file an issue on the docs repo:
49-
https://github.com/alexkrolick/testing-library-docs
49+
https://github.com/testing-library/testing-library-docs
5050
-->
5151

5252
### What you did:
@@ -63,7 +63,7 @@ https://github.com/alexkrolick/testing-library-docs
6363
If possible, please create a repository that reproduces the issue with the
6464
minimal amount of code possible.
6565
66-
Template repo: https://github.com/alexkrolick/dom-testing-library-template
66+
Template repo: https://github.com/testing-library/dom-testing-library-template
6767
6868
Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one
6969
here: https://codesandbox.io/s/5z6x4r7n0p

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ codesandbox to make a reproduction of your issue: https://kcd.im/rtl-help
2020
- Reactiflux on Discord https://www.reactiflux.com
2121
- Stack Overflow
2222
https://stackoverflow.com/questions/tagged/react-testing-library
23-
- Documentation: https://github.com/alexkrolick/testing-library-docs
23+
- Documentation: https://github.com/testing-library/testing-library-docs
2424

2525
**ISSUES WHICH ARE QUESTIONS WILL BE CLOSED**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ merge of your pull request!
3535
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
3636

3737
- [ ] Documentation added to the
38-
[docs site](https://github.com/alexkrolick/testing-library-docs)
38+
[docs site](https://github.com/testing-library/testing-library-docs)
3939
- [ ] Tests
4040
- [ ] Typescript definitions updated
4141
- [ ] Ready to be merged

CONTRIBUTING.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@ sure to include those changes (if they exist) in your commit.
3434
3535
### Update Typings
3636
37-
The TypeScript type definitions are in the
38-
[DefinitelyTyped repo](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__react)
37+
If your PR introduced some changes in the API, you are more than welcome to
38+
modify the Typescript type definition to reflect those changes. Just modify the
39+
`/types/index.d.ts` file accordingly. If you have never seen Typescript
40+
definitions before, you can read more about it in its
41+
[documentation pages](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html).
42+
Though this library itself is not written in Typescript we use
43+
[dtslint](https://github.com/microsoft/dtslint) to lint our typings.
3944
4045
## Help needed
4146

0 commit comments

Comments
 (0)