Skip to content

Commit

Permalink
Removed fake regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie-Microsoft committed Aug 8, 2023
1 parent af3472b commit 9fdec9a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions regression-tests/msal-node/client-credential/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,12 @@ const lastResourceRequest = {
suite
.add("ConfidentialClientApplication#acquireTokenByClientCredential-fromCache-resourceIsFirstItemInTheCache", {
"fn": async () => {
await sleep(10);
await confidentialClientApplication.acquireTokenByClientCredential(firstResourceRequest);
},
"minSamples": 150,
})
.add("ConfidentialClientApplication#acquireTokenByClientCredential-fromCache-resourceIsLastItemInTheCache", {
"fn": async () => {
await sleep(10);
await confidentialClientApplication.acquireTokenByClientCredential(lastResourceRequest);
},
"minSamples": 150,
Expand All @@ -87,7 +85,3 @@ const lastResourceRequest = {
})
.run({ "async": true });
})();

const sleep = (ms) => {
return new Promise(resolve => setTimeout(resolve, ms));
}

0 comments on commit 9fdec9a

Please sign in to comment.