mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-11 01:46:05 +01:00
Move mocha timeout setup to test.js
This commit is contained in:
1 parent
8bbd892693
commit
6c9848efcd
2 files changed
+2
-2
No files matched your search
@@ -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