Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ab2cebb

Browse files
afontcuKent C. Dodds
authored and
Kent C. Dodds
committedJun 1, 2019
Update Testing Libraries naming in docs (#125)
* Update import statements * Update library name * Update unpkg URL * Fix main exports section * Remove backticks * Update vue-testing-library references * Update cypress-testing-library references * Update react-testing-library import statements * Update react-testing-library references * Rename native-testing-library imports * Update native-testing-library references * Rename jest-native references
1 parent bc73c6c commit ab2cebb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+183
-183
lines changed
 

‎.vscode/markdown.code-snippets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"",
2828
"<!--Native-->",
2929
"```js",
30-
"import { $1 } from 'dom-testing-library'",
30+
"import { $1 } from '@testing-library/dom'",
3131
"",
3232
"const container = document.body",
3333
"const $3 = $1(container, '$2')",
3434
"```",
3535
"",
3636
"<!--React-->",
3737
"```js",
38-
"import { render } from 'react-testing-library'",
38+
"import { render } from '@testing-library/react'",
3939
"",
4040
"const { $1 } = render(<MyComponent />)",
4141
"const $3 = $1('$2')",
@@ -50,4 +50,4 @@
5050
],
5151
"description": "Create a Docusaurus multi-language code block"
5252
}
53-
}
53+
}

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ testing-library-docs
88
[![Code of Conduct][coc-badge]][coc]
99
<!-- prettier-ignore-end -->
1010

11-
Documentation site for [react-testing-library](https://github.com/testing-library/react-testing-library), [dom-testing-library](https://github.com/testing-library/dom-testing-library), and [related projects](https://github.com/testing-library)
11+
Documentation site for [React Testing Library](https://github.com/testing-library/react-testing-library), [DOM Testing Library](https://github.com/testing-library/dom-testing-library), and [related projects](https://github.com/testing-library)
1212

1313
See [./website/README.md](./website/README.md) for instructions on building the site
1414

0 commit comments

Comments
 (0)
Please sign in to comment.