diff options
Diffstat (limited to 'test/background/mock/MockFindRepository.ts')
-rw-r--r-- | test/background/mock/MockFindRepository.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/background/mock/MockFindRepository.ts b/test/background/mock/MockFindRepository.ts index af552c8..d5151f8 100644 --- a/test/background/mock/MockFindRepository.ts +++ b/test/background/mock/MockFindRepository.ts @@ -23,4 +23,9 @@ export default class MockFindRepository implements FindRepository { this.localStates[tabId] = state; return Promise.resolve(); } + + deleteLocalState(tabId: number): Promise<void> { + delete this.localStates[tabId]; + return Promise.resolve(); + } } |