mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 02:42:08 +00:00
fix: test failing after 30s
Signed-off-by: Avior <git@avior.me>
This commit is contained in:
parent
c03183bd6f
commit
26acb1eb61
@ -4,7 +4,7 @@ const { default: TCGdex, Query } = require("../src/tcgdex")
|
|||||||
import fetch from 'node-fetch'
|
import fetch from 'node-fetch'
|
||||||
|
|
||||||
// change timeout of execution
|
// change timeout of execution
|
||||||
jest.setTimeout(60000)
|
jest.setTimeout(120000)
|
||||||
|
|
||||||
const fakeFetch = (response, status = 200) => jest.fn(() =>
|
const fakeFetch = (response, status = 200) => jest.fn(() =>
|
||||||
Promise.resolve({
|
Promise.resolve({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user