Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/chip/src/lib/StatusChip.test.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { render } from '@testing-library/react';
import { Chip } from './Chip';
import { StatusChip } from './StatusChip';

describe('Chip', () => {
describe('StatusChip', () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to make changes, but as a general note for the future - since these changes are for only tests and docs then a new version is not needed.

if you were instead to name the commits test(mui-chip): fix StatusChip test importing wrong component and docs(mui-tooltip): fix typo in leaveDelay description (micro seconds → milliseconds) then semver would skip those commits when determining version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, quick correction. we skip docs commits, but not test. so test would still trigger a new version.

test('should render successfully', () => {
const { getByText } = render(<Chip label="Test" />);
const { getByText } = render(<StatusChip label="Test" />);
expect(getByText('Test')).toBeTruthy();
});
});
2 changes: 1 addition & 1 deletion packages/tooltip/src/lib/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const argTypes = {
},
},
leaveDelay: {
description: 'Delay before the tooltip is hidden. (micro seconds)',
description: 'Delay before the tooltip is hidden. (milliseconds)',
control: { type: 'number' },
table: { type: { summary: 'number' } },
defaultValue: { summary: 0 },
Expand Down
Loading