Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Dec 5, 2024
1 parent 34e9aa4 commit e65ddb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net-util/tests/StatusResponse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import { FullResponse, HttpHeaders, IncomingRequest, EndpointAddress,
RequestContext, StatusResponse }
InterfaceAddress, RequestContext, StatusResponse }
from '@this/net-util';


Expand All @@ -15,7 +15,7 @@ import { FullResponse, HttpHeaders, IncomingRequest, EndpointAddress,
*/
function makeRequest(authority, path) {
const context = new RequestContext(
Object.freeze({}),
new InterfaceAddress('1.2.3.4:999'),
new EndpointAddress('10.0.0.1', 10321));

return new IncomingRequest({
Expand Down

0 comments on commit e65ddb2

Please sign in to comment.