Try to fix tests

This commit is contained in:
Romaric Mourgues
2023-05-11 11:02:18 +02:00
parent def9d1ff9d
commit 56cc84c34e
3 changed files with 10 additions and 0 deletions
@@ -1,6 +1,10 @@
import { TestPlatform } from "./setup";
import { InjectPayload, Response } from "light-my-request";
import { logger as log } from "../../src/core/platform/framework";
import { AbortSignal } from "node-abort-controller";
// fix for Reference error AbortSignal in `lru-cache`
global.AbortSignal = AbortSignal as any;
declare global {
interface ApiResponse extends Response {