Skip to content

Commit 6eacdd4

Browse files
committed
test(browser): type action download capture mock
1 parent 733ea48 commit 6eacdd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/browser/src/browser/pw-tools-core.test-harness.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ let pageState: {
3535
const sessionMocks = vi.hoisted(() => ({
3636
assertPageNavigationCompletedSafely: vi.fn(async () => {}),
3737
beginActionDownloadCaptureOnPage: vi.fn(() => ({
38-
drain: vi.fn(async () => undefined),
38+
drain: vi.fn(async (): Promise<HarnessManagedDownload[] | undefined> => undefined),
3939
dispose: vi.fn(() => {}),
4040
})),
4141
closeBlockedNavigationTarget: vi.fn(async () => {}),

0 commit comments

Comments
 (0)