Add missing test file

This commit is contained in:
JC Brand 2021-06-11 16:53:19 +02:00
parent 17d9d2766d
commit bccd4a81b8

View File

@ -0,0 +1,12 @@
/* global mock */
describe("The persistent store", function() {
it("is unique to the user based on their JID",
mock.initConverse(['discoInitialized'], {'persistent_store': 'IndexedDB'}, (done, _converse) => {
expect(_converse.storage.persistent.config().storeName).toBe(_converse.bare_jid);
expect(_converse.storage.persistent.config().description).toBe('indexedDB instance');
done();
}));
});