test: match req.headers with req.rawHeaders

This commit is contained in:
Dorian Niemiec 2025-01-22 09:51:19 +01:00
parent ceea98db38
commit 325781566c

View file

@ -26,7 +26,7 @@ describe("ModSecurity Integration", () => {
localAddress: "127.0.0.1",
localPort: 8080
};
req.headers = {};
req.headers = { Host: "example.com" };
req._readableState = {
length: 0,
ended: true