1
0
mirror of https://github.com/koloml/philomena-tagging-assistant.git synced 2026-05-09 15:12:21 +00:00

Added initial implementation of mocks for chrome StorageArea, adding first tests for storage helper

This commit is contained in:
2025-02-20 23:52:26 +04:00
parent 769a63ccff
commit 68b68d3efd
4 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export default class ChromeEvent<T extends Function> implements chrome.events.Event<T> {
addListener = vi.fn();
getRules = vi.fn();
hasListener = vi.fn();
removeRules = vi.fn();
addRules = vi.fn();
removeListener = vi.fn();
hasListeners = vi.fn();
}