0
0
Fork 0

test: refs #8039 fix WorkerNotification e2e

This commit is contained in:
Alex Moreno 2024-10-22 13:55:35 +02:00
parent 0c9c01b6e9
commit cd00a3c67f
1 changed files with 2 additions and 1 deletions

View File

@ -44,8 +44,9 @@ async function toggleNotification(notification) {
`worker.notificationsManager.${notification.active ? '' : 'un'}subscribed` `worker.notificationsManager.${notification.active ? '' : 'un'}subscribed`
), ),
}); });
} catch { } catch (e) {
notification.active = !notification.active; notification.active = !notification.active;
throw e;
} }
} }