Skip to content

Commit 9713c4d

Browse files
authored
[Identity] min-max tests were failing now because of inconsistent types loaded in memory (Azure#19862)
1 parent e00dc6d commit 9713c4d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

sdk/identity/identity/test/public/node/clientCertificateCredential.spec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestU
1212
import { ClientCertificateCredential } from "../../../src";
1313
import { Context } from "mocha";
1414
import { readFileSync } from "fs";
15-
import { PipelineRequest, PipelineResponse } from "@azure/core-rest-pipeline";
15+
import { PipelineResponse } from "@azure/core-rest-pipeline";
1616

1717
const ASSET_PATH = "assets";
1818

@@ -93,12 +93,10 @@ describe("ClientCertificateCredential", function () {
9393
const credential = new ClientCertificateCredential(
9494
env.AZURE_TENANT_ID,
9595
env.AZURE_CLIENT_ID,
96-
{
97-
certificatePath,
98-
},
96+
certificatePath,
9997
{
10098
httpClient: {
101-
async sendRequest(_request: PipelineRequest): Promise<PipelineResponse> {
99+
async sendRequest(): Promise<PipelineResponse> {
102100
await delay(100);
103101
throw new Error("Fake HTTP client.");
104102
},

0 commit comments

Comments
 (0)