Rewrite Message model tests in TypeScript

This commit is contained in:
Evan Hahn 2020-10-26 17:15:28 -05:00 committed by Evan Hahn
parent 8073ccd32c
commit cb9a7f79d1
6 changed files with 119 additions and 68 deletions

View file

@ -77,10 +77,5 @@ before(async () => {
await window.storage.fetch();
});
window.clearDatabase = async () => {
await window.Signal.Data.removeAll();
await window.storage.fetch();
};
window.Whisper = window.Whisper || {};
window.Whisper.events = _.clone(Backbone.Events);