1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-11 13:30:39 +01:00
bitwarden-browser/libs
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
..
.vscode
admin-console Add AC Team eslint configuration (#9971) 2024-07-09 14:33:07 +01:00
angular [PM-7084] 6/6: Introduce shared duo two-factor component (#9772) 2024-07-19 16:29:24 +02:00
auth Auth/PM-6198 - Registration with Email Verification - Call email clicked endpoint (#10139) 2024-07-18 17:37:22 -04:00
billing
common [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
components [PM-8524] Cipher Form - Edit Login Details Section (#10081) 2024-07-18 09:38:55 -07:00
importer [PM-9710] [Bootstrap] Hide file inputs when not using bootstrap (#10095) 2024-07-15 13:09:25 -05:00
node
platform
shared [PM-9008] factor generator-extensions into separate libraries (#9724) 2024-06-20 10:49:23 -04:00
tools [PM-9869] Create SendFormContainer (#10147) 2024-07-19 21:17:52 +02:00
vault add testids for automation testing (#10170) 2024-07-19 11:31:33 -05:00