Move mocha timeout setup to test.js
This commit is contained in:
parent
8bbd892693
commit
6c9848efcd
2 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,6 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.Signal.conversationControllerStart();
|
window.Signal.conversationControllerStart();
|
||||||
|
|
||||||
mocha.setup({ timeout: 10000 });
|
|
||||||
|
|
||||||
window.testUtilities.prepareTests();
|
window.testUtilities.prepareTests();
|
||||||
delete window.testUtilities.prepareTests;
|
delete window.testUtilities.prepareTests;
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
* global helpers for tests
|
* global helpers for tests
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
mocha.setup({ timeout: 10000 });
|
||||||
|
|
||||||
function deleteIndexedDB() {
|
function deleteIndexedDB() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const idbReq = indexedDB.deleteDatabase('test');
|
const idbReq = indexedDB.deleteDatabase('test');
|
||||||
|
|
Loading…
Add table
Reference in a new issue