test: match req.headers with req.rawHeaders
This commit is contained in:
parent
ceea98db38
commit
325781566c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ describe("ModSecurity Integration", () => {
|
||||||
localAddress: "127.0.0.1",
|
localAddress: "127.0.0.1",
|
||||||
localPort: 8080
|
localPort: 8080
|
||||||
};
|
};
|
||||||
req.headers = {};
|
req.headers = { Host: "example.com" };
|
||||||
req._readableState = {
|
req._readableState = {
|
||||||
length: 0,
|
length: 0,
|
||||||
ended: true
|
ended: true
|
||||||
|
|
Loading…
Reference in a new issue