Skip to content

Commit

Permalink
test(credential-provider-imds): abort nock pending requests in timeou…
Browse files Browse the repository at this point in the history
…t check (#4837)
  • Loading branch information
trivikr committed Jun 13, 2023
1 parent cb4a0e3 commit 1cb4847
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ describe("httpRequest", () => {
);
expect(requestSpy.mock.results[0].value.socket).toHaveProperty("destroyed", true);

nock.abortPendingRequests();
scope.done();
});
});

0 comments on commit 1cb4847

Please sign in to comment.