Skip to content

Commit 1cb4847

Browse files
authored
test(credential-provider-imds): abort nock pending requests in timeout check (#4837)
1 parent cb4a0e3 commit 1cb4847

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/credential-provider-imds/src/remoteProvider/httpRequest.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ describe("httpRequest", () => {
114114
);
115115
expect(requestSpy.mock.results[0].value.socket).toHaveProperty("destroyed", true);
116116

117+
nock.abortPendingRequests();
117118
scope.done();
118119
});
119120
});

0 commit comments

Comments
 (0)