mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 19:08:04 +01:00
Better state teardown in tests
This commit is contained in:
@@ -29,6 +29,7 @@ describe('utils/migrateMessageData', async () => {
|
||||
});
|
||||
after(async () => {
|
||||
await DataWriter.removeAll();
|
||||
await window.storage.fetch();
|
||||
});
|
||||
it('increments attempts for messages which fail to save', async () => {
|
||||
const messages = new Array(5)
|
||||
|
||||
Reference in New Issue
Block a user