Skip to content

Commit ad67dbb

Browse files
committed
fixup: bump webdriverio
1 parent c40f5aa commit ad67dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/oidc-test-provider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { AddressInfo } from 'net';
2-
import type { Browser, RemoteOptions } from 'webdriverio';
2+
import type { Browser } from 'webdriverio';
33
import { remote as webdriverIoRemote } from 'webdriverio';
44
import express from 'express';
55
import { createServer as createHTTPServer } from 'http';
@@ -177,12 +177,12 @@ async function spawnBrowser(
177177
url: string,
178178
hideLogs?: boolean // For when real credentials are used in a flow
179179
): Promise<Browser> {
180-
const options: RemoteOptions = {
180+
const options = {
181181
capabilities: { browserName: 'chrome' },
182182
waitforTimeout: 10_000,
183183
waitforInterval: 100,
184184
logLevel: hideLogs ? 'error' : 'info',
185-
};
185+
} as const;
186186

187187
// We set ELECTRON_RUN_AS_NODE=1 for tests so that we can use
188188
// process.execPath to run scripts. Here, we want the actual, regular

0 commit comments

Comments
 (0)