Skip to content

Commit d9290a2

Browse files
authored
Merge pull request #1374 from RocketCommunicationsInc/shadow-dom-testing-library-update
Change link and update string explanation
2 parents 4a5755e + bc164c6 commit d9290a2

File tree

1 file changed

+2
-2
lines changed
  • packages/web-components/src/stories/frameworks

1 file changed

+2
-2
lines changed

packages/web-components/src/stories/frameworks/react.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ React also has syntactic sugar for two way data binding, which can be found [her
404404

405405
[React Testing Library](https://testing-library.com/docs/react-testing-library/intro) is built for testing React components and supports the native HTML elements such as `<input>`.
406406
Because our Astro components are web-components, some adaptations must be made to make testing with React Testing Library possible.
407-
[testing-library\_\_dom](https://www.npmjs.com/package/testing-library__dom) is an adpatation of the DOM testing library for use with
408-
shadow dom. It is still in an early beta stage, however we will show some examples on how to make use of it below.
407+
[shadow-dom-testing-library](https://www.npmjs.com/package/shadow-dom-testing-library) is an adpatation of the DOM testing library for use with
408+
shadow dom. Here are some examples on how to make use of React Tsting Library below.
409409

410410
> For a complete list of the React Testing Library API, read their [docs](https://testing-library.com/docs/react-testing-library/api).
411411

0 commit comments

Comments
 (0)