Skip to content

Commit

Permalink
Merge pull request #539 from AikidoSec/base-url-ssrf
Browse files Browse the repository at this point in the history
Set timeout for HTTPRequest.test.ts
  • Loading branch information
hansott authored Feb 27, 2025
2 parents b185c0a + db628e7 commit f3303e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions library/sinks/Fetch.localhost.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* eslint-disable prefer-rest-params */
import * as t from "tap";
import { Agent } from "../agent/Agent";
import { createServer, Server } from "http";
import { ReportingAPIForTesting } from "../agent/api/ReportingAPIForTesting";
import { Token } from "../agent/api/Token";
import { Context, runWithContext } from "../agent/Context";
import { LoggerNoop } from "../agent/logger/LoggerNoop";
import { createTestAgent } from "../helpers/createTestAgent";
import { Fetch } from "./Fetch";

Expand Down
2 changes: 2 additions & 0 deletions library/sinks/HTTPRequest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ function createContext(): Context {
};
}

t.setTimeout(60 * 1000);

t.test("it works", (t) => {
const agent = createTestAgent({
token: new Token("123"),
Expand Down

0 comments on commit f3303e4

Please sign in to comment.