-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to withdraw verification requirement CryptoAPI.withdrawVerificationRequirement
#4646
Add API to withdraw verification requirement CryptoAPI.withdrawVerificationRequirement
#4646
Conversation
3bacaca
to
28d08c3
Compare
28d08c3
to
0745f53
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One optional comment, otherwise all good, thanks!
let rustCrypto: RustCrypto; | ||
let olmMachine: Mocked<RustSdkCryptoJs.OlmMachine>; | ||
|
||
beforeEach(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I won't insist on it, but I have "opinions" on this style: setUp and tearDown considered harmful.
I personally would prefer a createRustCrypto
function that is called at the beginning of each test. I feel it makes tests easier to read, and removes a risk of cross-test contamination.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
CryptoAPi.withdrawVerificationRequirement
CryptoAPI.withdrawVerificationRequirement
74b879e
to
74a50f7
Compare
Add API to withdraw verification requirement
CryptoAPi.withdrawVerificationRequirement
Checklist
public
/exported
symbols have accurate TSDoc documentation.