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
07403cb3ae
commit
c03183bd6f
@ -3,6 +3,9 @@
|
||||
const { default: TCGdex, Query } = require("../src/tcgdex")
|
||||
import fetch from 'node-fetch'
|
||||
|
||||
// change timeout of execution
|
||||
jest.setTimeout(60000)
|
||||
|
||||
const fakeFetch = (response, status = 200) => jest.fn(() =>
|
||||
Promise.resolve({
|
||||
status: status,
|
||||
|
Loading…
x
Reference in New Issue
Block a user