aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-07-27 21:46:18 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-07-27 21:46:18 +0900
commit98ab2cde0f9e8a718eafd6a0482da25859efdaeb (patch)
treede1a422d5a42a8c77438c938cc8ff3c5eeca7b23 /test
parent05a19373e90976b82c2bd81626aee27a79eb4b2d (diff)
Add toggleReaderMode to MockTabPresenter
Diffstat (limited to 'test')
-rw-r--r--test/background/completion/TabCompletionUseCase.test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/background/completion/TabCompletionUseCase.test.ts b/test/background/completion/TabCompletionUseCase.test.ts
index e1a88a2..319f217 100644
--- a/test/background/completion/TabCompletionUseCase.test.ts
+++ b/test/background/completion/TabCompletionUseCase.test.ts
@@ -82,6 +82,10 @@ class MockTabPresenter implements TabPresenter {
setZoom(_tabId: number, _factor: number): Promise<void> {
throw new Error("not implemented");
}
+
+ toggleReaderMode(_tabId: number): Promise<void> {
+ throw new Error("not implemented");
+ }
}
describe("TabCompletionUseCase", () => {