You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
This will require adding some way to reset the internal state of the notifications polyfill — otherwise, the output of getAll will be unpredictable, since it will return all notifications that have been involved in tests thus far.
Following the example of the storage polyfill tests (currently in a CL here), such a reset function should be included in the chrome.caterpillar.notifications namespace and should include a ForTests suffix, e.g. chrome.caterpillar.notifications.resetNotificationsForTests.
The text was updated successfully, but these errors were encountered:
This will require adding some way to reset the internal state of the notifications polyfill — otherwise, the output of
getAll
will be unpredictable, since it will return all notifications that have been involved in tests thus far.Following the example of the storage polyfill tests (currently in a CL here), such a reset function should be included in the
chrome.caterpillar.notifications
namespace and should include aForTests
suffix, e.g.chrome.caterpillar.notifications.resetNotificationsForTests
.The text was updated successfully, but these errors were encountered: