npm install asyncstorage-mock babel-runtime --save-dev
a mock module for react-native's AsyncStorage api
import * as AsyncStorage from 'asyncstorage-mock';