From 038de72896e748df4e63352b4bbbae24d8a851ce Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 15 May 2021 16:44:19 +0900 Subject: Implement missing method in mock --- test/background/mock/MockTabPresenter.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/background/mock/MockTabPresenter.ts') diff --git a/test/background/mock/MockTabPresenter.ts b/test/background/mock/MockTabPresenter.ts index 22fb947..0968e44 100644 --- a/test/background/mock/MockTabPresenter.ts +++ b/test/background/mock/MockTabPresenter.ts @@ -176,4 +176,8 @@ export default class MockTabPresenter implements TabPresenter { this.zooms[index] = factor; return Promise.resolve(); } + + toggleReaderMode(_tabId: number): Promise { + throw new Error("not implemented"); + } } -- cgit v1.2.3