Skip to content

Commit 4cecc47

Browse files
authored
fix: Use relative links for internal links (#961)
1 parent 21cdc2c commit 4cecc47

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

blog/2019-04-25-new-org.mdx

+4-5
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,13 @@ they continue to work as you make changes!
135135

136136
> [Checkout native-testing-library](https://callstack.github.io/react-native-testing-library/)
137137
138-
## [Learn Testing Library](https://testing-library.com/docs/learning)
138+
## [Learn Testing Library](/docs/learning)
139139

140140
There's been a LOT of activity around the Testing Library principles and tools
141141
in the content space. We do have
142-
[a page that lists learning materials](https://testing-library.com/docs/learning),
143-
and more gets added to it daily. If you know of blog posts, YouTube videos,
144-
courses, or anything else about the Testing Library family of tools, please
145-
contribute to the list!
142+
[a page that lists learning materials](/docs/learning), and more gets added to
143+
it daily. If you know of blog posts, YouTube videos, courses, or anything else
144+
about the Testing Library family of tools, please contribute to the list!
146145

147146
> [Contribute to the learning materials page](https://github.com/testing-library/testing-library-docs/edit/main/docs/learning.mdx)
148147

docs/angular-testing-library/api.mdx

+3-5
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,10 @@ await navigate('details/3')
353353
### `...queries`
354354

355355
The most important feature of `render` is that the queries from
356-
[DOM Testing Library](https://testing-library.com/docs/dom-testing-library) are
357-
automatically returned with their first argument bound to the component under
358-
test.
356+
[DOM Testing Library](/docs/dom-testing-library/intro) are automatically
357+
returned with their first argument bound to the component under test.
359358

360-
See [Queries](https://testing-library.com/docs/dom-testing-library/api-queries)
361-
for a complete list.
359+
See [Queries](/docs/dom-testing-library/api-queries) for a complete list.
362360

363361
**example**:
364362

docs/cypress-testing-library/intro.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import '@testing-library/cypress/add-commands';
2424

2525
You can now use all of `DOM Testing Library`'s `findBy`, `findAllBy`, `queryBy`
2626
and `queryAllBy` commands off the global `cy` object.
27-
[See the `DOM Testing Library` docs for reference](https://testing-library.com/docs/dom-testing-library/api-queries).
27+
[See the `DOM Testing Library` docs for reference](/docs/dom-testing-library/api-queries).
2828

2929
> Note: the `get*` queries are not supported because for reasonable Cypress
3030
> tests you need retryability and `find*` queries already support that. `query*`

0 commit comments

Comments
 (0)