mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Move mocha timeout setup to test.js
This commit is contained in:
@@ -68,8 +68,6 @@
|
||||
<script type="text/javascript">
|
||||
window.Signal.conversationControllerStart();
|
||||
|
||||
mocha.setup({ timeout: 10000 });
|
||||
|
||||
window.testUtilities.prepareTests();
|
||||
delete window.testUtilities.prepareTests;
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* global helpers for tests
|
||||
*/
|
||||
|
||||
mocha.setup({ timeout: 10000 });
|
||||
|
||||
function deleteIndexedDB() {
|
||||
return new Promise((resolve, reject) => {
|
||||
const idbReq = indexedDB.deleteDatabase('test');
|
||||
|
||||
Reference in New Issue
Block a user