mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-20 07:01:03 -05:00
test(ui-components): inactive tab should be hidden (#51358)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user