test(ui-components): inactive tab should be hidden (#51358)

This commit is contained in:
Moshe
2023-08-23 15:38:57 +03:00
committed by GitHub
parent 2442682351
commit eed87b18e7

View File

@@ -25,5 +25,6 @@ describe('<Tabs />', () => {
userEvent.click(tabsTrigger);
const testContent = screen.getByText('Here is the test for the code.');
expect(testContent).toBeInTheDocument();
expect(codeContent).not.toBeInTheDocument();
});
});