()
| 7 | */ |
| 8 | class AsyncStorageWrapper { |
| 9 | constructor() { |
| 10 | /** |
| 11 | * The underlying storage implementation. |
| 12 | * Use `ReadOnlyNetworkStore` in test mode otherwise use `AsyncStorage`. |
| 13 | */ |
| 14 | this.storage = isTest ? ReadOnlyNetworkStore : AsyncStorage; |
| 15 | } |
| 16 | |
| 17 | async getItem(key) { |
| 18 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected