mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Update Expectations of update method (#7119)
* Update Expectations of `update` method Change `update` to return current state when `shouldUpdate` returns false. * Delete Accidental Tests
This commit is contained in:
@@ -156,7 +156,7 @@ describe("DefaultSingleUserState", () => {
|
||||
|
||||
expect(diskStorageService.mock.save).not.toHaveBeenCalled();
|
||||
expect(emissions).toEqual([null]); // Initial value
|
||||
expect(result).toBeUndefined();
|
||||
expect(result).toBeNull();
|
||||
});
|
||||
|
||||
it("should provide the update callback with the current State", async () => {
|
||||
|
||||
Reference in New Issue
Block a user