Fix typos (#1409)
This commit is contained in:
parent
348071c780
commit
439d41da0b
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ const Details: React.FC = () => {
|
|||
{!isReadOnly && (
|
||||
<Dropdown label={<VerticalElipsisIcon />} right>
|
||||
<DropdownItem onClick={onResetOffsets}>
|
||||
Reset offsest
|
||||
Reset offsets
|
||||
</DropdownItem>
|
||||
<DropdownItem
|
||||
style={{ color: Colors.red[50] }}
|
||||
|
|
|
@ -73,8 +73,8 @@ describe('Details component', () => {
|
|||
expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('hanles [Reset offsest] click', async () => {
|
||||
userEvent.click(screen.getByText('Reset offsest'));
|
||||
it('handles [Reset offsets] click', async () => {
|
||||
userEvent.click(screen.getByText('Reset offsets'));
|
||||
expect(history.location.pathname).toEqual(
|
||||
clusterConsumerGroupResetOffsetsPath(clusterName, groupId)
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue