-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perf] Migrate @azure-tests/perf-ai-metrics-advisor to ESM (#32209)
### Packages impacted by this PR - @azure-tests/perf-ai-metrics-advisor ### Issues associated with this PR - #31338 ### Describe the problem that is addressed by this PR Migrates @azure-tests/perf-ai-metrics-advisor to ESM via automation. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
- Loading branch information
1 parent
6ab19e8
commit 84169fa
Showing
7 changed files
with
72 additions
and
25 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
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
4 changes: 3 additions & 1 deletion
4
...etrics-advisor/test/listAnomalies.spec.ts → ...metrics-advisor/src/listAnomalies.spec.ts
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
4 changes: 3 additions & 1 deletion
4
...etrics-advisor/test/listIncidents.spec.ts → ...metrics-advisor/src/listIncidents.spec.ts
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
4 changes: 3 additions & 1 deletion
4
...i-metrics-advisor/test/rootCauses.spec.ts → ...ai-metrics-advisor/src/rootCauses.spec.ts
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
19 changes: 15 additions & 4 deletions
19
sdk/metricsadvisor/perf-tests/ai-metrics-advisor/tsconfig.json
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,10 +1,21 @@ | ||
{ | ||
"extends": "../../../../tsconfig", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"lib": ["ES6", "ESNext.AsyncIterable"], | ||
"noEmit": true | ||
"module": "NodeNext", | ||
"moduleResolution": "NodeNext", | ||
"rootDir": ".", | ||
"paths": { | ||
"@azure-tests/perf-ai-metrics-advisor": ["./src/index.ts"] | ||
} | ||
}, | ||
"compileOnSave": true, | ||
"include": ["./test/**/*.ts"] | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.mts", | ||
"src/**/*.cts", | ||
"samples-dev/**/*.ts", | ||
"test/**/*.ts", | ||
"test/**/*.mts", | ||
"test/**/*.cts" | ||
] | ||
} |