Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 851 Bytes

install.mdx

File metadata and controls

36 lines (28 loc) · 851 Bytes
id title
install
Installation

import Tabs from '@theme/Tabs' import TabItem from '@theme/TabItem'

<Tabs defaultValue="npm" values={[ { label: 'npm', value: 'npm' }, { label: 'Yarn', value: 'yarn' }, ]}>

npm install --save-dev @testing-library/user-event
yarn add --dev @testing-library/user-event

Note that @testing-library/user-event requires @testing-library/dom.

If you use one of the framework wrappers, it is important that @testing-library/dom is resolved to the same installation required by the framework wrapper of your choice.
Usually this means that if you use one of the framework wrappers, you should not add @testing-library/dom to your project dependencies.