Skip to content

Commit b364cc8

Browse files
authored
[monitor-query] fix build error (Azure#21550)
The test is checking a private property of ServiceClient that just got renamed. This PR fixes the build. Another issue will be logged to improve the test by testing that the option is passed to ServiceClient via a mock, instead of verifying the internals of ServiceClient
1 parent 07a98c6 commit b364cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/monitor/monitor-query/test/internal/unit/logsQueryClient.unittest.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe("LogsQueryClient unit tests", () => {
3333
});
3434

3535
assert.equal(client["_logAnalytics"].$host, "https://customEndpoint1");
36-
assert.equal(client["_logAnalytics"]["_baseUri"], "https://customEndpoint1");
36+
assert.equal(client["_logAnalytics"]["_endpoint"], "https://customEndpoint1");
3737

3838
try {
3939
await client.queryWorkspace("workspaceId", "query", { duration: Durations.fiveMinutes });

0 commit comments

Comments
 (0)