forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 23318 in Azure/azure-rest-api-specs
Reverting change in name pattern regex (Azure#23318)
- Loading branch information
SDKAuto
committed
Mar 29, 2023
1 parent
f37c3f5
commit 3a97a19
Showing
8 changed files
with
56 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Release History | ||
|
||
## 4.0.0-beta.4 (2023-03-22) | ||
## 4.0.0 (2023-03-29) | ||
|
||
**Features** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"commit": "cd2b76ce38029e1425ee024cd9403a908c60d71e", | ||
"commit": "b396f5ada48525a1c40564de2691dc4667831f4a", | ||
"readme": "specification/communication/resource-manager/readme.md", | ||
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\communication\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.10 --generate-sample=true", | ||
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/communication/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.10", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git", | ||
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2", | ||
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0", | ||
"use": "@autorest/typescript@6.0.0-rc.10" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. | ||
* Licensed under the MIT License. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
*/ | ||
|
||
import { | ||
Recorder, | ||
RecorderStartOptions, | ||
env | ||
} from "@azure-tools/test-recorder"; | ||
import { assert } from "chai"; | ||
import { Context } from "mocha"; | ||
|
||
const replaceableVariables: Record<string, string> = { | ||
AZURE_CLIENT_ID: "azure_client_id", | ||
AZURE_CLIENT_SECRET: "azure_client_secret", | ||
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", | ||
SUBSCRIPTION_ID: "azure_subscription_id" | ||
}; | ||
|
||
const recorderOptions: RecorderStartOptions = { | ||
envSetupForPlayback: replaceableVariables | ||
}; | ||
|
||
describe("My test", () => { | ||
let recorder: Recorder; | ||
|
||
beforeEach(async function(this: Context) { | ||
recorder = new Recorder(this.currentTest); | ||
await recorder.start(recorderOptions); | ||
}); | ||
|
||
afterEach(async function() { | ||
await recorder.stop(); | ||
}); | ||
|
||
it("sample test", async function() { | ||
console.log("Hi, I'm a test!"); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters