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

export default () => ({
  persist: jest.fn(),
  restore: jest.fn(() => ({
    authenticated: {
      authenticator: 'test'
    }
  }))
})

Update test storage to better mimic actual storage behavior
Update test storage to better mimic actual storage behavior
