Skip to content

Commit

Permalink
Supplememnt test case for structure and azure resource (#2786)
Browse files Browse the repository at this point in the history
* supplememnt test case

* upgrade cadl-ranch version

* supplement core basic and arm resource test case

* update

* Update packages/typespec-ts/test/integration/clientStructure.spec.ts

---------

Co-authored-by: Mary Gao <yanmeigao1210@gmail.com>
  • Loading branch information
v-jiaodi and MaryGao authored Sep 10, 2024
1 parent f206494 commit 854466f
Show file tree
Hide file tree
Showing 20 changed files with 986 additions and 164 deletions.
38 changes: 19 additions & 19 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/typespec-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
"license": "MIT",
"devDependencies": {
"@azure-rest/core-client": "^2.1.0",
"@azure-tools/cadl-ranch-expect": "^0.15.1",
"@azure-tools/cadl-ranch-specs": "^0.36.1",
"@azure-tools/cadl-ranch": "^0.14.3",
"@azure-tools/cadl-ranch-expect": "^0.15.3",
"@azure-tools/cadl-ranch-specs": "^0.37.1",
"@azure-tools/cadl-ranch": "^0.14.5",
"@azure-tools/cadl-ranch-api": "^0.4.6",
"@azure-tools/typespec-autorest": ">=0.45.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.45.0 <1.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/typespec-ts/test/commands/cadl-ranch-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ export const rlcTsps = [
{
outputPath: "azure/client-generator-core/flatten-property",
inputPath: "azure/client-generator-core/flatten-property"
},
{
outputPath: "client/structure/client-operation-group",
inputPath: "client/structure/client-operation-group"
}
];

Expand Down Expand Up @@ -546,6 +550,10 @@ export const modularTsps = [
{
outputPath: "azure/core/page",
inputPath: "azure/core/page"
},
{
outputPath: "client/structure/client-operation-group",
inputPath: "client/structure/client-operation-group"
}
];

Expand Down
Loading

0 comments on commit 854466f

Please sign in to comment.