Skip to content

Commit 9a88bba

Browse files
authored
[tsp-client] Upgrade to 0.9.3 (#29837)
- Adds autorest and plugins as dependencies - Runs the packages from their install folders, to guarantee the versions don't change after install
1 parent 5046b2e commit 9a88bba

File tree

3 files changed

+259
-10
lines changed

3 files changed

+259
-10
lines changed

eng/tools/tsp-client-tests/test/tsp-client.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,17 @@ async function convert(expect: ExpectStatic, readme: string) {
5454
expect(() => access(outputFolder)).rejects.toThrowError();
5555
}
5656

57-
// TODO: Convert to `test.concurrent()` once Azure/azure-sdk-tools#8610 is merged,
58-
// which should fix race condition bug calling `npx autorest`.
59-
test("Usage", async ({ expect }) => {
57+
test.concurrent("Usage", async ({ expect }) => {
6058
const { stdout, exitCode } = await tspClient();
6159

6260
expect(stdout).toContain("Usage");
6361
expect(exitCode).not.toBe(0);
6462
});
6563

66-
test("Convert keyvault/data-plane", async ({ expect }) => {
64+
test.concurrent("Convert keyvault/data-plane", async ({ expect }) => {
6765
await convert(expect, "specification/keyvault/data-plane/readme.md");
6866
});
6967

70-
test("Convert sphere/resource-manager", async ({ expect }) => {
68+
test.concurrent("Convert sphere/resource-manager", async ({ expect }) => {
7169
await convert(expect, "specification/sphere/resource-manager/readme.md");
7270
});

package-lock.json

Lines changed: 255 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@azure-tools/typespec-azure-portal-core": "0.43.0",
88
"@azure-tools/typespec-azure-resource-manager": "0.43.0",
99
"@azure-tools/typespec-azure-rulesets": "0.43.0",
10-
"@azure-tools/typespec-client-generator-cli": "0.9.2",
10+
"@azure-tools/typespec-client-generator-cli": "0.9.3",
1111
"@azure-tools/typespec-client-generator-core": "0.43.0",
1212
"@azure/avocado": "^0.8.4",
1313
"@typespec/compiler": "0.57.0",

0 commit comments

Comments
 (0)