clients/apps/browser/src
Matt Gibson 5b5c165e10
[PM-8847] Delay browser local storage operations during reseed (#9536)
* Define matchers to test promise fulfillment

These are useful for validating that promises depend on other events prior to fulfilling.

* Expose custom matchers to jest projects

Team-specific projects are not touched here to try and reduce review burden.

* Block browser local operations awaiting reseed

This should closes a narrow race condition resulting from storage operations during a reseed event.

* Import from barrel file

This might fix the failing test, but I'm not sure _why_

* Document helper methods

* Validate as few properties as possible per test

* Simplify expected value representation

* Allow waiting in promise matchers

* Specify resolution times in promise orchestration tests.

* Test behavior triggering multiple reseeds.

* Fix typo

* Avoid testing implementation details

* Clear reseed on startup

in case a previous process was aborted in the middle of a reseed.

* Correct formatting
2024-07-19 16:12:29 -04:00
..
_locales [PM-7174] New Notifications Settings and Excluded Domains components (#10059) 2024-07-19 12:36:09 -04:00
admin-console/types Remove deprecated factory methods (#9077) 2024-05-20 09:07:39 +10:00
auth [PM-7084] 6/6: Introduce shared duo two-factor component (#9772) 2024-07-19 16:29:24 +02:00
autofill [PM-7174] New Notifications Settings and Excluded Domains components (#10059) 2024-07-19 12:36:09 -04:00
background [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
billing/popup/settings Make premium.component to be owned by team-billing-dev (#8935) 2024-05-02 15:04:38 -04:00
browser [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
images [PS-1693] feat(browser): implement theming for notification bar (#3805) 2022-10-27 19:34:47 +02:00
models Delete Unused Bits of StateService (#9858) 2024-07-08 20:38:10 -04:00
platform [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
popup [PM-9869] Create SendFormContainer (#10147) 2024-07-19 21:17:52 +02:00
safari Update all instances of copyright with 2023 to 2024 (#7396) 2023-12-29 15:28:14 +00:00
services/vault-timeout [PM-6426] Create TaskSchedulerService and update long lived timeouts in the extension to leverage the new service (#8566) 2024-07-15 10:32:30 -05:00
tools [PM-9869] Create SendFormContainer (#10147) 2024-07-19 21:17:52 +02:00
types [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
vault [PM-7174] New Notifications Settings and Excluded Domains components (#10059) 2024-07-19 12:36:09 -04:00
managed_schema.json [SM-88] [BEEEP] Add support for chrome.storage.managed for environment urls (#3120) 2022-08-08 07:40:09 -04:00
manifest.json Bumped client version(s) (#10123) 2024-07-15 17:09:09 +00:00
manifest.v3.json Bumped client version(s) (#10123) 2024-07-15 17:09:09 +00:00