aboutsummaryrefslogtreecommitdiff
path: root/test/background/mock
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-23 12:44:49 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-23 13:14:00 +0900
commit01242a2f0d174b4bf8b51fd5627edced465757e9 (patch)
treeb8ab266625ae3244b6ed8c9ff7a92a979e532e91 /test/background/mock
parentcbf4b37bd0d5ba277d6400ed460d6a086ae1d7bb (diff)
Search a content from frames successfully loaded
Diffstat (limited to 'test/background/mock')
-rw-r--r--test/background/mock/MockReadyFrameRepository.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/background/mock/MockReadyFrameRepository.ts b/test/background/mock/MockReadyFrameRepository.ts
new file mode 100644
index 0000000..63b7cf4
--- /dev/null
+++ b/test/background/mock/MockReadyFrameRepository.ts
@@ -0,0 +1,15 @@
+import ReadyFrameRepository from "../../../src/background/repositories/ReadyFrameRepository";
+
+export default class MockReadyFrameRepository implements ReadyFrameRepository {
+ clearFrameIds(_tabId: number): Promise<void> {
+ throw new Error("not implemented");
+ }
+
+ addFrameId(_tabId: number, _fraemId: number): Promise<void> {
+ throw new Error("not implemented");
+ }
+
+ getFrameIds(_tabId: number): Promise<number[] | undefined> {
+ throw new Error("not implemented");
+ }
+}