Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarkebm committed Sep 9, 2024
1 parent e943993 commit 5a7ee10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mockResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ function createResponse(options = {}) {
*
* Append a header by name. If a header already exists, the new value is appended to the existing header.
*/
mockResponse.appendHeader = function setHeader(name, value) {
mockResponse.appendHeader = function appendHeader(name, value) {
mockResponse.append(name, value);
return this;
};
Expand Down

0 comments on commit 5a7ee10

Please sign in to comment.