Skip to content

Conversation

sofiar-msft
Copy link
Member

Packages impacted by this PR

Issues associated with this PR

Describe the problem that is addressed by this PR

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

import { isNodeLike } from "@azure/core-util";
import { createTestCredential } from "@azure-tools/test-credential";
import { createMSUserAgentPolicy } from "./msUserAgentPolicy.js";
import { createOperationLocationFixPolicy } from "./operationLocationFixPolicy.js";
import { DefaultAzureCredential } from "@azure/identity";
let fetch: typeof globalThis.fetch;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetch is available in NodeJS v20+ so we shouldn't need node-fetch. Did you get errors when using it without node-fetch?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tried this, but will do!

@sofiar-msft
Copy link
Member Author

/azp run js - communication-phone-numbers - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

import { isNodeLike } from "@azure/core-util";
import { createTestCredential } from "@azure-tools/test-credential";
import { createMSUserAgentPolicy } from "./msUserAgentPolicy.js";
import { createOperationLocationFixPolicy } from "./operationLocationFixPolicy.js";
import { DefaultAzureCredential } from "@azure/identity";
let fetch: typeof globalThis.fetch;
let crypto: typeof import("crypto");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants