mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-10 08:09:18 +00:00
@ -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,
|
||||
|
Reference in New Issue
Block a user