Skip to content

Commit 9716cde

Browse files
committed
add assertion for :unlock event listener
1 parent c4263a5 commit 9716cde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/keyring-controller/src/KeyringController.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2951,6 +2951,7 @@ describe('KeyringController', () => {
29512951
await controller.submitPassword(password);
29522952

29532953
expect(controller.state.keyrings).toHaveLength(1);
2954+
expect(unlockListener).toHaveBeenCalledTimes(1);
29542955
},
29552956
);
29562957
});

0 commit comments

Comments
 (0)