Skip to content

Commit c86c238

Browse files
committed
Fix format
1 parent 0e9289e commit c86c238

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

packages/rum-core/src/domain/assembly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { LifeCycleEventType } from './lifeCycle'
1616
import type { RumConfiguration } from './configuration'
1717
import type { ModifiableFieldPaths } from './limitModification'
1818
import { limitModification } from './limitModification'
19-
import type { Hooks, AssembleHookParams} from './hooks'
19+
import type { Hooks, AssembleHookParams } from './hooks'
2020

2121
const VIEW_MODIFIABLE_FIELD_PATHS: ModifiableFieldPaths = {
2222
'view.name': 'string',

packages/rum-core/src/domain/contexts/connectivityContext.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ describe('startConnectivityContext', () => {
1717
startConnectivityContext(hooks)
1818
setNavigatorOnLine(true)
1919
setNavigatorConnection({ effectiveType: '2g' })
20-
const event = hooks.triggerHook(HookNames.Assemble, { eventType: 'view', startTime: 0 as RelativeTime } as AssembleHookParams)
20+
const event = hooks.triggerHook(HookNames.Assemble, {
21+
eventType: 'view',
22+
startTime: 0 as RelativeTime,
23+
} as AssembleHookParams)
2124

2225
expect(event).toEqual({
2326
type: 'view',

packages/rum-core/src/domain/contexts/displayContext.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ describe('displayContext', () => {
2727
it('should set the display context', () => {
2828
displayContext = startDisplayContext(hooks, mockRumConfiguration())
2929

30-
const event = hooks.triggerHook(HookNames.Assemble, { eventType: 'view', startTime: 0 as RelativeTime } as AssembleHookParams)
30+
const event = hooks.triggerHook(HookNames.Assemble, {
31+
eventType: 'view',
32+
startTime: 0 as RelativeTime,
33+
} as AssembleHookParams)
3134
expect(requestAnimationFrameSpy).toHaveBeenCalledTimes(1)
3235

3336
expect(event).toEqual({

0 commit comments

Comments
 (0)