aboutsummaryrefslogtreecommitdiff
path: root/test/background/mock/MockTabPresenter.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-05-15 16:44:19 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-07-05 21:32:43 +0900
commit038de72896e748df4e63352b4bbbae24d8a851ce (patch)
tree29ef6760a8e0d063205b063fefd6a015abd58390 /test/background/mock/MockTabPresenter.ts
parentcbeec6ca62140b57a56481e315297b8d60984d45 (diff)
Implement missing method in mock
Diffstat (limited to 'test/background/mock/MockTabPresenter.ts')
-rw-r--r--test/background/mock/MockTabPresenter.ts4
1 files changed, 4 insertions, 0 deletions
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<void> {
+ throw new Error("not implemented");
+ }
}