export default () => ({
  clear: jest.fn(() => Promise.resolve()),
  persist: jest.fn(data => Promise.resolve(data)),
  restore: jest.fn(() => Promise.resolve())
})

export default () => ({
  clear: jest.fn(() => Promise.resolve()),
  persist: jest.fn(data => Promise.resolve(data)),
  restore: jest.fn(() => Promise.resolve({ authenticated: {}}))
})

Return authenticated key in storage restore
Return authenticated key in storage restore
