-
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-monitor-query to ESM (#32256)
### Packages impacted by this PR - @azure-tests/perf-monitor-query ### Issues associated with this PR - #31338 ### Describe the problem that is addressed by this PR Migrating @azure-tests/perf-monitor-query 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
4c39cfa
commit 708295a
Showing
8 changed files
with
71 additions
and
32 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
6 changes: 3 additions & 3 deletions
6
...rf-tests/monitor-query/test/index.spec.ts → ...tor/perf-tests/monitor-query/src/index.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
3 changes: 2 additions & 1 deletion
3
...tests/monitor-query/test/logQuery.spec.ts → ...-tests/monitor-query/src/logQuery.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
3 changes: 2 additions & 1 deletion
3
.../monitor-query/test/logQueryBatch.spec.ts → ...s/monitor-query/src/logQueryBatch.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
3 changes: 2 additions & 1 deletion
3
...ts/monitor-query/test/metricQuery.spec.ts → ...sts/monitor-query/src/metricQuery.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
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,10 +1,21 @@ | ||
{ | ||
"extends": "../../../../tsconfig", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"lib": ["ES6", "ESNext.AsyncIterable"], | ||
"noEmit": true | ||
"module": "NodeNext", | ||
"moduleResolution": "NodeNext", | ||
"rootDir": ".", | ||
"paths": { | ||
"@azure-tests/perf-monitor-query": ["./src/index"] | ||
} | ||
}, | ||
"compileOnSave": true, | ||
"include": ["./test/**/*.ts"] | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.mts", | ||
"src/**/*.cts", | ||
"samples-dev/**/*.ts", | ||
"test/**/*.ts", | ||
"test/**/*.mts", | ||
"test/**/*.cts" | ||
] | ||
} |