Skip to content

Latest commit

 

History

History
executable file
·
13 lines (11 loc) · 588 Bytes

2019-03-17-code-blocks.mdx

File metadata and controls

executable file
·
13 lines (11 loc) · 588 Bytes
title author authorURL
Multi-Framework Code Blocks
Alex Krolick

Many of the code samples have been updated to include tabs to switch between "plain" DOM Testing Library syntax and the wrappers for React, Cypress, etc.

Thanks to @tylerthehaas for pointing out that the previous examples could be confusing if you were targeting a specific library, and to the Docusaurus team for adding support for code tabs in version 1.7.2.