Add tests for content filtering

This commit is contained in:
Phillip Thelen
2024-01-26 14:58:21 +01:00
committed by Sabe Jones
parent 39252c7828
commit ec0275e6f6
5 changed files with 186 additions and 60 deletions

View File

@@ -40,6 +40,7 @@ export function generateRes (options = {}) {
redirect: sandbox.stub(),
render: sandbox.stub(),
send: sandbox.stub(),
sendFile: sandbox.stub(),
sendStatus: sandbox.stub().returnsThis(),
set: sandbox.stub(),
status: sandbox.stub().returnsThis(),