pull/21833/head
David Baker 2020-06-26 20:31:22 +01:00
parent 0579c9f748
commit 2969820371
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ describe("AccessSecretStorageDialog", function() {
expect(recoveryKeyValid).toBe(false);
expect(recoveryKeyCorrect).toBe(false);
const notification = testInstance.root.findByProps({
className: "mx_AccessSecretStorageDialog_recoveryKeyFeedback mx_AccessSecretStorageDialog_recoveryKeyFeedback_invalid",
className: "mx_AccessSecretStorageDialog_recoveryKeyFeedback " +
"mx_AccessSecretStorageDialog_recoveryKeyFeedback_invalid",
});
expect(notification.props.children).toEqual("Invalid Recovery Key");
done();