Skip to content

Commit 89d6871

Browse files
committed
Update TestUtils.js
1 parent 265bfcd commit 89d6871

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/TestUtils.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ export function destroyAllDataPermanently(fast) {
2222
SchemaCache.clear();
2323
deletePromises.push(app.databaseAdapter.deleteAllClasses(fast));
2424
}
25-
try {
26-
return Promise.all(deletePromises);
27-
} catch (e) {
28-
/* ignore */
29-
}
25+
return Promise.all(deletePromises);
3026
})
3127
);
3228
}

0 commit comments

Comments
 (0)