VS Code extension that lets you open a react testing library cheatsheet directly in the editor.
The cheatsheet can be opened in two ways:
- Press
Ctrl+Shift+P
(Win, Linux) /Cmd+Shift+P
(Mac) and search for theOpen React Testing Library Cheatsheet
command. - Hover any React testing library API declaration and click the Open React Testing Library Cheatsheet link in the popup.
Besides the Open React Testing Library Cheatsheet
link in the hover popup, there’s also a link to the API. This aims to make it easier to quickly find all information needed to utilize this testing library.
Works with the following file types:
- JavaScript
- TypeScript
Initial release of the React Testing Library Cheatsheet extension.
- Shows cheatsheet in the editor when the command
Open React Testing Library Cheatsheet
is called. - Opens cheatsheet in the editor when you hover RTL API declaration and click the link to open cheatsheet.
- Contains link for API official documentation for command hovered
The cheatsheet in this extension is based on the React Testing Library Cheatsheet by React Testing Library.