test: add missing res.write() mock function

This commit is contained in:
Dorian Niemiec 2024-12-20 16:32:52 +01:00
parent 633cff1235
commit ec2c148681

View file

@ -30,6 +30,7 @@ describe("SVR.JS Cache mod", () => {
res = {
headers: {},
writeHead: resWriteHead,
write: jest.fn(),
end: resEnd,
setHeader: jest.fn(),
getHeaderNames: jest.fn(() => []),