(key: string)
| 12 | private store = new Map<string, string>() |
| 13 | |
| 14 | async get(key: string): Promise<string | null> { |
| 15 | return Promise.resolve(this.store.has(key) ? this.store.get(key)! : null) |
| 16 | } |
| 17 | |
| 18 | async set(key: string, value: string): Promise<void> { |
| 19 | this.store.set(key, value) |
no test coverage detected