diff options
Diffstat (limited to 'test/background/mock/MockFindClient.ts')
-rw-r--r-- | test/background/mock/MockFindClient.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/background/mock/MockFindClient.ts b/test/background/mock/MockFindClient.ts new file mode 100644 index 0000000..bd25a27 --- /dev/null +++ b/test/background/mock/MockFindClient.ts @@ -0,0 +1,24 @@ +import FindClient, { + FindResult, +} from "../../../src/background/clients/FindClient"; + +export default class MockFindClient implements FindClient { + highlightAll(): Promise<void> { + throw new Error("not implemented"); + } + + removeHighlights(): Promise<void> { + throw new Error("not implemented"); + } + + selectKeyword( + _tabId: number, + _rangeData: browser.find.RangeData + ): Promise<void> { + throw new Error("not implemented"); + } + + startFind(_keyword: string): Promise<FindResult> { + throw new Error("not implemented"); + } +} |