* Update npm-run-all

* Switch example.com to microsoft.com
This commit is contained in:
Kamil Pajdzik 2018-11-28 10:28:35 -08:00 коммит произвёл GitHub
Родитель 8c0914de2f
Коммит fd2bac3749
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -5,7 +5,7 @@
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/Azure/ms-rest-azure-js"
},
"version": "1.1.1",
"version": "1.1.2",
"description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
"tags": [
"isomorphic",
@ -50,7 +50,7 @@
"@types/node": "^10.9.4",
"chai": "^4.1.2",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.2",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"rollup": "^0.67.3",
"rollup-plugin-node-resolve": "^3.4.0",

Просмотреть файл

@ -2553,7 +2553,7 @@ describe("AzureServiceClient", () => {
describe("sendRequest", () => {
it ("adds custom user agent if specified", async () => {
const client = new AzureServiceClient(new TokenCredentials("fake-token"), { userAgent: "custom-ua" });
const request = new WebResource("https://example.com");
const request = new WebResource("https://microsoft.com");
await client.sendRequest(request);
const telemetry = request.headers.get("user-agent")!;
@ -2562,7 +2562,7 @@ describe("AzureServiceClient", () => {
it ("adds user agent header that looks similar to \"ms-rest-azure-js/0.1.0 ms-rest-js/0.1.0 Node/v10.11.0 OS/(x64-Windows_NT-10.0.18267)\"", async () => {
const client = new AzureServiceClient(new TokenCredentials("my-fake-token"));
const request = new WebResource("https://example.com");
const request = new WebResource("https://microsoft.com");
await client.sendRequest(request);
const telemetry = request.headers.get("user-agent")!;