Reduce some Sentry logs (#2549)
* Reduce some Sentry logs * Update tests
This commit is contained in:
parent
64f7800bed
commit
9cbd3c0937
4 changed files with 8 additions and 7 deletions
|
@ -26,7 +26,7 @@ test('migrate: fresh install', async () => {
|
|||
|
||||
expect(AsyncStorage.getItem).toHaveBeenCalledWith('root')
|
||||
expect(read).toHaveBeenCalledTimes(1)
|
||||
expect(logger.log).toHaveBeenCalledWith(
|
||||
expect(logger.info).toHaveBeenCalledWith(
|
||||
'persisted state: no migration needed',
|
||||
)
|
||||
})
|
||||
|
@ -38,7 +38,7 @@ test('migrate: fresh install, existing new storage', async () => {
|
|||
|
||||
expect(AsyncStorage.getItem).toHaveBeenCalledWith('root')
|
||||
expect(read).toHaveBeenCalledTimes(1)
|
||||
expect(logger.log).toHaveBeenCalledWith(
|
||||
expect(logger.info).toHaveBeenCalledWith(
|
||||
'persisted state: no migration needed',
|
||||
)
|
||||
})
|
||||
|
@ -68,7 +68,7 @@ test('migrate: has legacy data', async () => {
|
|||
await migrate()
|
||||
|
||||
expect(write).toHaveBeenCalledWith(transform(fixtures.LEGACY_DATA_DUMP))
|
||||
expect(logger.log).toHaveBeenCalledWith(
|
||||
expect(logger.info).toHaveBeenCalledWith(
|
||||
'persisted state: migrated legacy storage',
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue