Skip to content

Commit 8c0d915

Browse files
committed
Update SettingsModal tests to handle LG Modal v20
1 parent c3a6590 commit 8c0d915

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/compass-settings/src/components/modal.spec.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ describe('SettingsModal', function () {
5656

5757
it('renders nothing until it is open and loaded', function () {
5858
renderSettingsModal({ isOpen: false });
59-
60-
const container = screen.queryByTestId('settings-modal');
61-
expect(container).to.not.exist;
59+
expect(screen.getByTestId('settings-modal')).to.be.closed;
6260
});
6361

6462
it('modal footer actions', async function () {

0 commit comments

Comments
 (0)