Fix tests
// FREEBIE
This commit is contained in:
parent
f095a1583e
commit
2584f4fae4
4 changed files with 15 additions and 6 deletions
|
@ -14,7 +14,9 @@ describe('Protocol Wrapper', function() {
|
|||
localStorage.clear();
|
||||
libsignal.KeyHelper.generateIdentityKeyPair().then(function(identityKey) {
|
||||
return textsecure.storage.protocol.saveIdentity(identifier, identityKey);
|
||||
}).then(done);
|
||||
}).then(function() {
|
||||
done();
|
||||
});
|
||||
});
|
||||
describe('processPreKey', function() {
|
||||
it('rejects if the identity key changes', function(done) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue