Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.3 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.3 KB

React Testing Library Cheatsheet

VS Code extension that lets you open a react testing library cheatsheet directly in the editor.

Features

The cheatsheet can be opened in two ways:

  • Press Ctrl+Shift+P (Win, Linux) / Cmd+Shift+P (Mac) and search for the Open 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

Release Notes

1.0.0

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

Credit

The cheatsheet in this extension is based on the React Testing Library Cheatsheet by React Testing Library.