- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersreleased on @alpha
Description
Currently, when using getByText, we have to use toBeTruthy()
const {getByText} = render('ls');
expect(getByText('file.txt')).toBeTruthy();Similar to jest-dom, it would be nice to have an optional toBeInTheConsole() API that simply aliases toBeTruthy()
const {getByText} = render('ls');
expect(getByText('file.txt')).toBeInTheConsole();Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomersreleased on @alpha