Skip to content

Commit f3303e4

Browse files
authored
Merge pull request #539 from AikidoSec/base-url-ssrf
Set timeout for HTTPRequest.test.ts
2 parents b185c0a + db628e7 commit f3303e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

library/sinks/Fetch.localhost.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
/* eslint-disable prefer-rest-params */
22
import * as t from "tap";
3-
import { Agent } from "../agent/Agent";
43
import { createServer, Server } from "http";
5-
import { ReportingAPIForTesting } from "../agent/api/ReportingAPIForTesting";
64
import { Token } from "../agent/api/Token";
75
import { Context, runWithContext } from "../agent/Context";
8-
import { LoggerNoop } from "../agent/logger/LoggerNoop";
96
import { createTestAgent } from "../helpers/createTestAgent";
107
import { Fetch } from "./Fetch";
118

library/sinks/HTTPRequest.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ function createContext(): Context {
5454
};
5555
}
5656

57+
t.setTimeout(60 * 1000);
58+
5759
t.test("it works", (t) => {
5860
const agent = createTestAgent({
5961
token: new Token("123"),

0 commit comments

Comments
 (0)