Skip to content

Commit

Permalink
Testing: add entries to headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmrcaga committed Mar 12, 2022
1 parent e44ccef commit 5012ef3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class Headers {
set(name, value) {
this.headers[name.toLowerCase()] = value;
}

entries() {
return Object.entries(this.headers);
}
}

class Request {
Expand Down

0 comments on commit 5012ef3

Please sign in to comment.