Skip to content

Commit

Permalink
restore and activate nock (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrichardson authored Jul 23, 2020
1 parent 717ca79 commit 93257b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/botframework-connector/tests/openIdMetadata.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ GOG4x32vEzakArLPxAKwGvkvu0jToAyvSQIDAQAB
});

function setupNockCalls(){
nock.restore();
nock.activate();
return nock(mockUrl)
.get(mockMetadataUrl)
.reply(StatusCodes.OK, { jwks_uri: mockUrl + jwks_uriUrl })
Expand Down

0 comments on commit 93257b9

Please sign in to comment.