testing-library/testing-library-docs

API reference for screen utility

Closed this issue · 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'React Testing Library'
  2. Click on 'API'

There is no mention of the screen utility. It is mentioned in parts of the documentation but in the API reference, I can't find it. You can import it like this:

import { screen } from '@testing-library/react';

But no API reference.

Expected behavior A clear and concise description of screen utility.

Screenshots If applicable, add screenshots to help explain your problem.

image