Parallelize SQL queries

This commit is contained in:
Fedor Indutny 2024-07-22 11:16:33 -07:00 committed by GitHub
parent 86b4da1ec2
commit c64762858e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
178 changed files with 3377 additions and 3618 deletions

View file

@ -8,14 +8,6 @@
mocha.setup('bdd');
mocha.setup({ timeout: 10000 });
function deleteIndexedDB() {
return new Promise((resolve, reject) => {
const idbReq = indexedDB.deleteDatabase('test');
idbReq.onsuccess = resolve;
idbReq.error = reject;
});
}
window.Events = {
getThemeSetting: () => 'light',
};
@ -23,8 +15,6 @@ window.Events = {
/* Delete the database before running any tests */
before(async () => {
await window.testUtilities.initialize();
await deleteIndexedDB();
await window.Signal.Data.removeAll();
await window.storage.fetch();
});