fix: test failing after 30s

Signed-off-by: Avior <git@avior.me>
This commit is contained in:
Florian Bouillon 2024-12-10 11:35:59 +01:00
parent c03183bd6f
commit 26acb1eb61
Signed by: Florian Bouillon
GPG Key ID: 7676FF78F3BC40EC

View File

@ -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({