Skip to content

Commit

Permalink
fix: called functions in test
Browse files Browse the repository at this point in the history
  • Loading branch information
axelEandrews authored Jul 19, 2024
1 parent 14e72ac commit 3749098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react/src/primitives/Tabs/__tests__/Tabs.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ describe('Tabs', () => {
</Tabs.Container>
);
const tabs = await screen.findAllByRole('tab');
expect(tabs[0].id === tabs[1].id).toBeFalsy;
expect(tabs[0].id === tabs[2].id).toBeFalsy;
expect(tabs[0].id === tabs[1].id).toBeFalsy();
expect(tabs[0].id === tabs[2].id).toBeFalsy();
});

it('creates the same ids tabs with the same value in the same group', async () => {
Expand All @@ -137,8 +137,8 @@ describe('Tabs', () => {
</Tabs.Container>
);
const tabs = await screen.findAllByRole('tab');
expect(tabs[0].id === tabs[1].id).toBeTruthy;
expect(tabs[0].id === tabs[2].id).toBeTruthy;
expect(tabs[0].id === tabs[1].id).toBeTruthy();
expect(tabs[0].id === tabs[2].id).toBeTruthy();
});

describe('TabItem', () => {
Expand Down

0 comments on commit 3749098

Please sign in to comment.