Skip to content

Commit

Permalink
Move mocha timeout setup to test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and indutny-signal committed Sep 1, 2022
1 parent cf3060e commit cf31a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/index.html
Expand Up @@ -68,8 +68,6 @@
<script type="text/javascript">
window.Signal.conversationControllerStart();

mocha.setup({ timeout: 10000 });

window.testUtilities.prepareTests();
delete window.testUtilities.prepareTests;

Expand Down
2 changes: 2 additions & 0 deletions test/test.js
Expand Up @@ -7,6 +7,8 @@
* global helpers for tests
*/

mocha.setup({ timeout: 10000 });

function deleteIndexedDB() {
return new Promise((resolve, reject) => {
const idbReq = indexedDB.deleteDatabase('test');
Expand Down

0 comments on commit cf31a83

Please sign in to comment.