Skip to content

Commit 525fb77

Browse files
committed
[PROF-13798] 🐛 Fix post-rebase breakages: buildEndpointHost signature and renamed mock
1 parent db8591a commit 525fb77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/rum/src/domain/profiling/profiler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ describe('profiler', () => {
10981098
mockProfiler(deepClone(mockedTrace) as any)
10991099
const hooks = createHooks()
11001100
const profilingContextManager = startProfilingContext(hooks)
1101-
const noSessionManager = createRumSessionManagerMock()
1101+
const noSessionManager = createSessionManagerMock()
11021102
spyOn(noSessionManager, 'findTrackedSession').and.returnValue(undefined)
11031103
const profilerNoSession = createRumProfiler(
11041104
mockRumConfiguration({ profilingSampleRate: 100 }),

packages/rum/src/domain/profiling/quotaCheck.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function checkProfilingQuota(
3636
sessionId: string,
3737
timeoutMs = 5000
3838
): Promise<QuotaResult> {
39-
const host = `quota.${buildEndpointHost('profile', { site: configuration.site, clientToken: configuration.clientToken })}`
39+
const host = `quota.${buildEndpointHost({ site: configuration.site, clientToken: configuration.clientToken })}`
4040
const url = `https://${host}/api/v2/profiling/quota?session_id=${sessionId}`
4141
const controller = new AbortController()
4242

0 commit comments

Comments
 (0)