threepointone / asyncstorage-mock

a mock for react-native's asyncstorage api. useful for testing.
9 stars 1 forks source link

getItem does not work as proper AsyncStorage #1

Open Cordazar opened 8 years ago

Cordazar commented 8 years ago

Your getItem returns an error if no item can be found. The real AsyncStorage returns undefined if no item could be found and no errors happened.

threepointone commented 8 years ago

Huh, my bad, will fix.