Skip to content

Commit f1ed69c

Browse files
fix lint errors
1 parent bb161da commit f1ed69c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/compass-aggregations/src/components/stage-toolbar/stage-operator-select.spec.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import React from 'react';
2-
import { fireEvent, render, screen, within } from '@testing-library/react';
2+
import {
3+
fireEvent,
4+
render,
5+
screen,
6+
within,
7+
} from '@mongodb-js/testing-library-compass';
38
import { expect } from 'chai';
4-
import { Stage, StageOperatorSelect } from './stage-operator-select';
9+
import type { Stage } from './stage-operator-select';
10+
import { StageOperatorSelect } from './stage-operator-select';
511
import Sinon from 'sinon';
612

713
describe('StageOperatorSelect', () => {
@@ -65,7 +71,7 @@ describe('StageOperatorSelect', () => {
6571
},
6672
});
6773
fireEvent.click(screen.getByRole('combobox'));
68-
const listbox = screen.getByRole('listbox'); // Target the dropdown
74+
const listbox = screen.getByRole('listbox');
6975

7076
expect(within(listbox).getByText('basicStage description.')).to.exist;
7177
expect(within(listbox).getByText('Atlas only. atlasOnlyStage description.'))

0 commit comments

Comments
 (0)