Родитель
56432e04b9
Коммит
2e2abb0db0
|
@ -5,7 +5,7 @@
|
|||
"email": "azsdkteam@microsoft.com",
|
||||
"url": "https://github.com/Azure/ms-rest-azure-js"
|
||||
},
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
|
||||
"tags": [
|
||||
"isomorphic",
|
||||
|
|
|
@ -2513,7 +2513,12 @@ describe("AzureServiceClient", () => {
|
|||
|
||||
describe("updateOptionsWithDefaultValues()", () => {
|
||||
function assertOptionEqual(actual: AzureServiceClientOptions, expected: AzureServiceClientOptions) {
|
||||
const actualUserAgent = actual.userAgent;
|
||||
let actualUserAgent: string | undefined;
|
||||
if (typeof actual.userAgent === "string") {
|
||||
actualUserAgent = actual.userAgent;
|
||||
} else if (typeof actual.userAgent === "function") {
|
||||
actualUserAgent = actual.userAgent("");
|
||||
}
|
||||
delete actual.userAgent;
|
||||
delete expected.userAgent;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче