More timeout for tests
This commit is contained in:
parent
53c697312c
commit
f34723b83d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ const TaskPanel = require('../TaskPanel.svelte').default
|
||||||
|
|
||||||
const node_fetch = require('node-fetch')
|
const node_fetch = require('node-fetch')
|
||||||
|
|
||||||
const delay = (time=5) => new Promise((resolve) => window.setTimeout(resolve, time))
|
const delay = (time=10) => new Promise((resolve) => window.setTimeout(resolve, time))
|
||||||
const allPromises = []
|
const allPromises = []
|
||||||
|
|
||||||
global.fetch = function(url, init) {
|
global.fetch = function(url, init) {
|
||||||
|
|
Reference in a new issue