Fix tests to pass when -preview suffix set in version (#121)
This commit is contained in:
Родитель
b3bdb886b6
Коммит
4c97c47d63
|
@ -5,7 +5,7 @@
|
|||
"email": "azsdkteam@microsoft.com",
|
||||
"url": "https://github.com/Azure/ms-rest-azure-js"
|
||||
},
|
||||
"version": "1.3.7",
|
||||
"version": "1.3.8",
|
||||
"description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
|
||||
"tags": [
|
||||
"isomorphic",
|
||||
|
|
|
@ -2523,7 +2523,7 @@ describe("AzureServiceClient", () => {
|
|||
delete expected.userAgent;
|
||||
|
||||
assert.deepEqual(actual, expected);
|
||||
assert(actualUserAgent!.match(/ms-rest-azure-js\/[\d\.]+ ms-rest-js\/[\d\.]+ .+/));
|
||||
assert(actualUserAgent!.match(/ms-rest-azure-js\/[\d\.]+ ms-rest-js\/[\d\w\.-]+ .+/));
|
||||
}
|
||||
|
||||
it("with undefined", () => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче