Skip to content

Commit ad314e3

Browse files
committed
chore: fixup
1 parent 4d1cddc commit ad314e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import type { ChainablePromiseElement } from 'webdriverio';
21
import type { CompassBrowser } from '../compass-browser';
32
import * as Selectors from '../selectors';
43

54
export async function openSettingsModal(
65
browser: CompassBrowser,
76
tab?: string
8-
): Promise<ChainablePromiseElement> {
7+
): Promise<void> {
98
await browser.execute(() => {
109
// eslint-disable-next-line @typescript-eslint/no-require-imports
1110
require('electron').ipcRenderer.emit('window:show-settings');
@@ -16,5 +15,4 @@ export async function openSettingsModal(
1615
if (tab) {
1716
await browser.clickVisible(Selectors.SettingsModalTabSelector(tab));
1817
}
19-
return settingsModalElement;
2018
}

0 commit comments

Comments
 (0)