Closed atlanteh closed 2 years ago
Running the following code fails when using getMockRes: res.set('referrer-policy', 'no-referrer');
getMockRes
res.set('referrer-policy', 'no-referrer');
Also the res.header('referrer-policy', 'no-referrer') alias fails
res.header('referrer-policy', 'no-referrer')
Missed the getMockRes().res part. Sorry.
getMockRes().res
Running the following code fails when using
getMockRes
:res.set('referrer-policy', 'no-referrer');
Also the
res.header('referrer-policy', 'no-referrer')
alias fails