mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
test(ui-components): inactive tab should be hidden (#51358)
This commit is contained in:
parent
2442682351
commit
eed87b18e7
@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user