Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com>
  • Loading branch information
LeviPesin committed Aug 4, 2023
1 parent b076928 commit 7d8de49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function toHaveCorrectReportHeaders(res) {
const reportURL = process.env.NGINX_REPORT_URL;

return toHaveCorrectHeaders.call(this, res, {
'Report-Endpoints': `endpoint="${reportURL}", default="${reportURL}"`,
'Reporting-Endpoints': `endpoint="${reportURL}", default="${reportURL}"`,
'NEL': '{ "report_to": "endpoint", "include_subdomains": true, "max_age": 2592000 }',
'Report-To': `{ "group": "endpoint", "include_subdomains": true, "max_age": 2592000, "endpoints": [ { "url": "${reportURL}" } ] }`
});
Expand Down

0 comments on commit 7d8de49

Please sign in to comment.