Skip to content

Commit

Permalink
[Identity] min-max tests were failing now because of inconsistent typ…
Browse files Browse the repository at this point in the history
…es loaded in memory (#19862)
  • Loading branch information
sadasant authored Jan 19, 2022
1 parent e00dc6d commit 9713c4d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestU
import { ClientCertificateCredential } from "../../../src";
import { Context } from "mocha";
import { readFileSync } from "fs";
import { PipelineRequest, PipelineResponse } from "@azure/core-rest-pipeline";
import { PipelineResponse } from "@azure/core-rest-pipeline";

const ASSET_PATH = "assets";

Expand Down Expand Up @@ -93,12 +93,10 @@ describe("ClientCertificateCredential", function () {
const credential = new ClientCertificateCredential(
env.AZURE_TENANT_ID,
env.AZURE_CLIENT_ID,
{
certificatePath,
},
certificatePath,
{
httpClient: {
async sendRequest(_request: PipelineRequest): Promise<PipelineResponse> {
async sendRequest(): Promise<PipelineResponse> {
await delay(100);
throw new Error("Fake HTTP client.");
},
Expand Down

0 comments on commit 9713c4d

Please sign in to comment.