Skip to content

Commit

Permalink
♻️[RUMF-1517] add test index files (#2115)
Browse files Browse the repository at this point in the history
* ♻️ add core/test/index

* ♻️ add rum-core/test/index

* ♻️ add rum/test/index
  • Loading branch information
bcaudan authored Mar 29, 2023
1 parent 30f3154 commit 0b18707
Show file tree
Hide file tree
Showing 93 changed files with 208 additions and 210 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/browser/addEventListener.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stubZoneJs } from '../../test/stubZoneJs'
import { stubZoneJs } from '../../test'
import { noop } from '../tools/utils'

import { addEventListener, DOM_EVENT } from './addEventListener'
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/browser/fetchObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { FetchStub, FetchStubManager, FetchStubPromise } from '../../test/specHelper'
import { stubFetch } from '../../test/specHelper'
import type { FetchStub, FetchStubManager, FetchStubPromise } from '../../test'
import { stubFetch } from '../../test'
import { isIE } from '../tools/browserDetection'
import type { Subscription } from '../tools/observable'
import type { FetchResolveContext, FetchContext } from './fetchObservable'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/browser/pageExitObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createNewEvent, restorePageVisibility, setPageVisibility } from '../../test/specHelper'
import { createNewEvent, restorePageVisibility, setPageVisibility } from '../../test'
import { resetExperimentalFeatures, updateExperimentalFeatures } from '../domain/configuration'
import type { Subscription } from '../tools/observable'
import type { PageExitEvent } from './pageExitObservable'
Expand Down
5 changes: 2 additions & 3 deletions packages/core/src/browser/timer.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { stubZoneJs } from '../../test/stubZoneJs'
import type { Clock } from '../../test/specHelper'
import { mockClock } from '../../test/specHelper'
import { mockClock, stubZoneJs } from '../../test'
import type { Clock } from '../../test'
import { noop } from '../tools/utils'
import { resetMonitor, startMonitorErrorCollection } from '../tools/monitor'
import { setTimeout, clearTimeout, setInterval, clearInterval } from './timer'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/browser/xhrObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stubXhr, withXhr } from '../../test/specHelper'
import { withXhr, stubXhr } from '../../test'
import { isIE } from '../tools/browserDetection'
import type { Subscription } from '../tools/observable'
import type { XhrCompleteContext, XhrContext } from './xhrObservable'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BuildEnvWindow } from '../../../test/specHelper'
import type { BuildEnvWindow } from '../../../test'
import { startsWith } from '../../tools/utils'
import type { InitConfiguration } from './configuration'
import { createEndpointBuilder } from './endpointBuilder'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/domain/report/reportObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { stubReportingObserver, stubCspEventListener } from '../../../test'
import type { Subscription } from '../../tools/observable'
import { stubReportingObserver, stubCspEventListener } from '../../../test/stubReportApis'
import { initReportObservable, RawReportType } from './reportObservable'

describe('report observable', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stubCookie, mockClock } from '../../../test/specHelper'
import { mockClock, stubCookie } from '../../../test'
import { isChromium } from '../../tools/browserDetection'
import {
SESSION_COOKIE_NAME,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/domain/session/sessionManager.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createNewEvent, mockClock, restorePageVisibility, setPageVisibility } from '../../../test'
import type { Clock } from '../../../test'
import type { CookieOptions } from '../../browser/cookie'
import { COOKIE_ACCESS_DELAY, getCookie, setCookie } from '../../browser/cookie'
import type { Clock } from '../../../test/specHelper'
import { mockClock, restorePageVisibility, setPageVisibility, createNewEvent } from '../../../test/specHelper'
import { ONE_HOUR, ONE_SECOND } from '../../tools/utils'
import type { RelativeTime } from '../../tools/timeUtils'
import { isIE } from '../../tools/browserDetection'
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/domain/session/sessionStore.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Clock } from '../../../test/specHelper'
import { mockClock } from '../../../test/specHelper'
import type { Clock } from '../../../test'
import { mockClock } from '../../../test'
import type { CookieOptions } from '../../browser/cookie'
import { getCookie, setCookie, COOKIE_ACCESS_DELAY } from '../../browser/cookie'
import type { SessionStore } from './sessionStore'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { mockSyntheticsWorkerValues, cleanupSyntheticsWorkerValues } from '../../../test/syntheticsWorkerValues'
import { mockSyntheticsWorkerValues, cleanupSyntheticsWorkerValues } from '../../../test'
import { getSyntheticsResultId, getSyntheticsTestId, willSyntheticsInjectRum } from './syntheticsWorkerValues'

describe('syntheticsWorkerValues', () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/domain/tracekit/computeStackTrace.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isSafari } from '../../../test/specHelper'
import * as CapturedExceptions from '../../../test/capturedExceptions'
import * as CapturedExceptions from '../../../test'
import { isSafari } from '../../../test'
import { computeStackTrace } from './computeStackTrace'

describe('computeStackTrace', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/domain/tracekit/tracekit.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { disableJasmineUncaughtErrorHandler } from '../../../test/specHelper'
import { disableJasmineUncaughtErrorHandler } from '../../../test'
import { startUnhandledErrorCollection } from './tracekit'
import type { UnhandledErrorCallback } from './types'

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/tools/contextHistory.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Clock } from '../../test/specHelper'
import { mockClock } from '../../test/specHelper'
import type { Clock } from '../../test'
import { mockClock } from '../../test'
import type { Duration, RelativeTime } from './timeUtils'
import { addDuration } from './timeUtils'
import { ONE_MINUTE } from './utils'
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/tools/createEventRateLimiter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Clock } from '../../test/specHelper'
import { mockClock } from '../../test/specHelper'
import type { Clock } from '../../test'
import { mockClock } from '../../test'
import type { RawError } from './error'
import type { EventRateLimiter } from './createEventRateLimiter'
import { createEventRateLimiter } from './createEventRateLimiter'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/tools/getZoneJsOriginalValue.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stubZoneJs } from '../../test/stubZoneJs'
import { stubZoneJs } from '../../test'

import type { BrowserWindowWithZoneJs } from './getZoneJsOriginalValue'
import { getZoneJsOriginalValue } from './getZoneJsOriginalValue'
Expand Down
5 changes: 2 additions & 3 deletions packages/core/src/tools/instrumentMethod.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { stubZoneJs } from '../../test/stubZoneJs'
import type { Clock } from '../../test/specHelper'
import { mockClock } from '../../test/specHelper'
import { mockClock, stubZoneJs } from '../../test'
import type { Clock } from '../../test'
import { instrumentMethod, instrumentSetter } from './instrumentMethod'
import { noop } from './utils'

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/tools/urlPolyfill.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isFirefox } from '../../test/specHelper'
import { isFirefox } from '../../test'
import { getHash, getOrigin, getPathName, getSearch, isValidUrl, normalizeUrl } from './urlPolyfill'
import { getLocationOrigin } from './utils'

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/tools/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Clock } from '../../test/specHelper'
import { mockClock } from '../../test/specHelper'
import type { Clock } from '../../test'
import { mockClock } from '../../test'
import { display } from './display'
import {
arrayFrom,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/transport/eventBridge.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { deleteEventBridgeStub, initEventBridgeStub } from '../../test/specHelper'
import { deleteEventBridgeStub, initEventBridgeStub } from '../../test'
import { getEventBridge, canUseEventBridge } from './eventBridge'

describe('canUseEventBridge', () => {
Expand Down
5 changes: 2 additions & 3 deletions packages/core/src/transport/httpRequest.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { stubEndpointBuilder, interceptRequests } from '../../test/specHelper'
import type { Request } from '../../test/specHelper'
import { collectAsyncCalls, stubEndpointBuilder, interceptRequests } from '../../test'
import type { Request } from '../../test'
import type { EndpointBuilder } from '../domain/configuration'
import { createEndpointBuilder } from '../domain/configuration'
import { noop } from '../tools/utils'
import { collectAsyncCalls } from '../../test/collectAsyncCalls'
import { createHttpRequest, fetchKeepAliveStrategy, sendXHR } from './httpRequest'
import type { HttpRequest } from './httpRequest'

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/transport/sendWithRetryStrategy.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mockClock, restoreNavigatorOnLine, setNavigatorOnLine } from '../../test/specHelper'
import type { Clock } from '../../test/specHelper'
import { mockClock, restoreNavigatorOnLine, setNavigatorOnLine } from '../../test'
import type { Clock } from '../../test'
import { ErrorSource } from '../tools/error'
import type { RetryState } from './sendWithRetryStrategy'
import {
Expand Down
6 changes: 6 additions & 0 deletions packages/core/test/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export * from './capturedExceptions'
export * from './collectAsyncCalls'
export * from './stubReportApis'
export * from './stubZoneJs'
export * from './syntheticsWorkerValues'
export * from './specHelper'
4 changes: 2 additions & 2 deletions packages/logs/src/boot/logsPublicApi.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { TimeStamp } from '@datadog/browser-core'
import { monitor, ONE_SECOND, display } from '@datadog/browser-core'
import type { Clock } from '../../../core/test/specHelper'
import { deleteEventBridgeStub, initEventBridgeStub, mockClock } from '../../../core/test/specHelper'
import type { Clock } from '@datadog/browser-core/test'
import { deleteEventBridgeStub, initEventBridgeStub, mockClock } from '@datadog/browser-core/test'
import type { HybridInitConfiguration, LogsInitConfiguration } from '../domain/configuration'
import type { Logger, LogsMessage } from '../domain/logger'
import { HandlerType, StatusType } from '../domain/logger'
Expand Down
13 changes: 7 additions & 6 deletions packages/logs/src/boot/startLogs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { ErrorSource, display, stopSessionManager, getCookie, SESSION_COOKIE_NAME } from '@datadog/browser-core'
import { cleanupSyntheticsWorkerValues, mockSyntheticsWorkerValues } from '../../../core/test/syntheticsWorkerValues'
import type { Request } from '@datadog/browser-core/test'
import {
interceptRequests,
stubEndpointBuilder,
deleteEventBridgeStub,
initEventBridgeStub,
stubEndpointBuilder,
interceptRequests,
} from '../../../core/test/specHelper'
import type { Request } from '../../../core/test/specHelper'
cleanupSyntheticsWorkerValues,
mockSyntheticsWorkerValues,
} from '@datadog/browser-core/test'

import type { LogsConfiguration } from '../domain/configuration'
import { validateAndBuildLogsConfiguration } from '../domain/configuration'

import { HandlerType, Logger, StatusType } from '../domain/logger'
import type { startLoggerCollection } from '../domain/logsCollection/logger/loggerCollection'
import type { LogsEvent } from '../logsEvent.types'
Expand Down
5 changes: 2 additions & 3 deletions packages/logs/src/domain/assembly.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type { Context, RelativeTime, TelemetryEvent, TimeStamp } from '@datadog/browser-core'
import { TelemetryService, startTelemetry, ErrorSource, ONE_MINUTE, getTimeStamp, noop } from '@datadog/browser-core'
import { cleanupSyntheticsWorkerValues, mockSyntheticsWorkerValues } from '../../../core/test/syntheticsWorkerValues'
import type { Clock } from '@datadog/browser-core/test'
import { mockClock, cleanupSyntheticsWorkerValues, mockSyntheticsWorkerValues } from '@datadog/browser-core/test'
import type { LogsEvent } from '../logsEvent.types'
import type { Clock } from '../../../core/test/specHelper'
import { mockClock } from '../../../core/test/specHelper'
import type { CommonContext } from '../rawLogsEvent.types'
import { getRUMInternalContext, resetRUMInternalContext, startLogsAssembly } from './assembly'
import { validateAndBuildLogsConfiguration } from './configuration'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { TimeStamp } from '@datadog/browser-core'
import { ConsoleApiName, timeStampNow, display, ErrorSource } from '@datadog/browser-core'
import type { Clock } from '@datadog/browser-core/test/specHelper'
import { mockClock } from '@datadog/browser-core/test/specHelper'
import type { Clock } from '@datadog/browser-core/test'
import { mockClock } from '@datadog/browser-core/test'
import type { CommonContext, RawLoggerLogsEvent } from '../../../rawLogsEvent.types'
import type { RawLogsEventCollectedData } from '../../lifeCycle'
import { LifeCycle, LifeCycleEventType } from '../../lifeCycle'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isIE, ErrorSource } from '@datadog/browser-core'
import type { FetchStub, FetchStubManager } from '@datadog/browser-core/test/specHelper'
import { SPEC_ENDPOINTS, ResponseStub, stubFetch } from '@datadog/browser-core/test/specHelper'
import type { FetchStub, FetchStubManager } from '@datadog/browser-core/test'
import { SPEC_ENDPOINTS, ResponseStub, stubFetch } from '@datadog/browser-core/test'
import type { RawNetworkLogsEvent } from '../../../rawLogsEvent.types'
import type { LogsConfiguration } from '../../configuration'
import type { RawLogsEventCollectedData } from '../../lifeCycle'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ErrorSource, noop } from '@datadog/browser-core'
import { stubReportingObserver } from '@datadog/browser-core/test/stubReportApis'
import { stubReportingObserver } from '@datadog/browser-core/test'
import type { RawReportLogsEvent } from '../../../rawLogsEvent.types'
import { validateAndBuildLogsConfiguration } from '../../configuration'
import type { RawLogsEventCollectedData } from '../../lifeCycle'
Expand Down
4 changes: 2 additions & 2 deletions packages/logs/src/domain/logsSessionManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
stopSessionManager,
ONE_SECOND,
} from '@datadog/browser-core'
import type { Clock } from '../../../core/test/specHelper'
import { mockClock } from '../../../core/test/specHelper'
import type { Clock } from '@datadog/browser-core/test'
import { mockClock } from '@datadog/browser-core/test'

import type { LogsConfiguration } from './configuration'
import {
Expand Down
13 changes: 8 additions & 5 deletions packages/rum-core/src/boot/rumPublicApi.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import type { RelativeTime, TimeStamp, Context } from '@datadog/browser-core'
import { ONE_SECOND, getTimeStamp, display, DefaultPrivacyLevel } from '@datadog/browser-core'
import { cleanupSyntheticsWorkerValues, mockSyntheticsWorkerValues } from '../../../core/test/syntheticsWorkerValues'
import { initEventBridgeStub, deleteEventBridgeStub } from '../../../core/test/specHelper'
import type { TestSetupBuilder } from '../../test/testSetupBuilder'
import { setup } from '../../test/testSetupBuilder'
import {
initEventBridgeStub,
deleteEventBridgeStub,
cleanupSyntheticsWorkerValues,
mockSyntheticsWorkerValues,
} from '@datadog/browser-core/test'
import type { TestSetupBuilder } from '../../test'
import { setup, noopRecorderApi } from '../../test'
import type { HybridInitConfiguration, RumInitConfiguration } from '../domain/configuration'
import { ActionType } from '../rawRumEvent.types'
import { noopRecorderApi } from '../../test/noopRecorderApi'
import type { RumPublicApi, StartRum, RecorderApi } from './rumPublicApi'
import { makeRumPublicApi } from './rumPublicApi'

Expand Down
9 changes: 3 additions & 6 deletions packages/rum-core/src/boot/startRum.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ import {
relativeNow,
isIE,
} from '@datadog/browser-core'
import { createNewEvent, interceptRequests } from '../../../core/test/specHelper'
import type { RumSessionManagerMock } from '../../test/mockRumSessionManager'
import { createRumSessionManagerMock } from '../../test/mockRumSessionManager'
import type { TestSetupBuilder } from '../../test/testSetupBuilder'
import { setup } from '../../test/testSetupBuilder'
import { createNewEvent, interceptRequests } from '@datadog/browser-core/test'
import type { RumSessionManagerMock, TestSetupBuilder } from '../../test'
import { createRumSessionManagerMock, noopRecorderApi, setup } from '../../test'
import type { RumPerformanceNavigationTiming, RumPerformanceEntry } from '../browser/performanceCollection'
import type { LifeCycle } from '../domain/lifeCycle'
import { LifeCycleEventType } from '../domain/lifeCycle'
Expand All @@ -26,7 +24,6 @@ import type { RumSessionManager } from '..'
import type { RumConfiguration, RumInitConfiguration } from '../domain/configuration'
import { RumEventType } from '../rawRumEvent.types'
import { startFeatureFlagContexts } from '../domain/contexts/featureFlagContext'
import { noopRecorderApi } from '../../test/noopRecorderApi'
import { startRum, startRumEventCollection } from './startRum'

function collectServerEvents(lifeCycle: LifeCycle) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isIE } from '@datadog/browser-core'
import { stubZoneJs } from '../../../core/test/stubZoneJs'
import { stubZoneJs } from '@datadog/browser-core/test'
import { createDOMMutationObservable, getMutationObserverConstructor } from './domMutationObservable'

// The MutationObserver invokes its callback in an event loop microtask, making this asynchronous.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Observable, Subscription } from '@datadog/browser-core'
import { mockLocation } from '../../../core/test/specHelper'
import { mockLocation } from '@datadog/browser-core/test'
import type { LocationChange } from './locationChangeObservable'
import { createLocationChangeObservable } from './locationChangeObservable'

Expand Down
4 changes: 2 additions & 2 deletions packages/rum-core/src/browser/performanceCollection.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { TestSetupBuilder } from '../../test/testSetupBuilder'
import { setup } from '../../test/testSetupBuilder'
import type { TestSetupBuilder } from '../../test'
import { setup } from '../../test'
import { retrieveInitialDocumentResourceTiming, startPerformanceCollection } from './performanceCollection'

describe('rum initial document resource', () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/rum-core/src/browser/viewportObservable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Clock } from '@datadog/browser-core/test/specHelper'
import { createNewEvent, mockClock } from '@datadog/browser-core/test/specHelper'
import type { Subscription } from '@datadog/browser-core/src/tools/observable'
import type { Clock } from '@datadog/browser-core/test'
import { mockClock, createNewEvent } from '@datadog/browser-core/test'
import type { ViewportDimension } from './viewportObservable'
import { getViewportDimension, initViewportObservable } from './viewportObservable'

Expand Down
21 changes: 14 additions & 7 deletions packages/rum-core/src/domain/assembly.spec.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
import type { RelativeTime } from '@datadog/browser-core'
import { ErrorSource, ONE_MINUTE, display } from '@datadog/browser-core'
import { createRumSessionManagerMock } from '../../test/mockRumSessionManager'
import { createRawRumEvent } from '../../test/fixtures'
import type { TestSetupBuilder } from '../../test/testSetupBuilder'
import { setup } from '../../test/testSetupBuilder'
import {
initEventBridgeStub,
deleteEventBridgeStub,
cleanupSyntheticsWorkerValues,
mockSyntheticsWorkerValues,
} from '@datadog/browser-core/test'
import type { TestSetupBuilder } from '../../test'
import {
createRumSessionManagerMock,
mockCiVisibilityWindowValues,
setup,
createRawRumEvent,
cleanupCiVisibilityWindowValues,
} from '../../test'
import type { RumEventDomainContext } from '../domainContext.types'
import type { RawRumActionEvent, RawRumErrorEvent, RawRumEvent } from '../rawRumEvent.types'
import { RumEventType } from '../rawRumEvent.types'
import type { RumActionEvent, RumErrorEvent, RumEvent } from '../rumEvent.types'
import { initEventBridgeStub, deleteEventBridgeStub } from '../../../core/test/specHelper'
import { cleanupSyntheticsWorkerValues, mockSyntheticsWorkerValues } from '../../../core/test/syntheticsWorkerValues'
import { cleanupCiVisibilityWindowValues, mockCiVisibilityWindowValues } from '../../test/mockCiVisibilityWindowValues'
import { startRumAssembly } from './assembly'
import type { LifeCycle, RawRumEventCollectedData } from './lifeCycle'
import { LifeCycleEventType } from './lifeCycle'
Expand Down
5 changes: 1 addition & 4 deletions packages/rum-core/src/domain/contexts/ciTestContext.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
cleanupCiVisibilityWindowValues,
mockCiVisibilityWindowValues,
} from '../../../test/mockCiVisibilityWindowValues'
import { cleanupCiVisibilityWindowValues, mockCiVisibilityWindowValues } from '../../../test'
import { getCiTestContext } from './ciTestContext'

describe('getCiTestContext', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Context, ContextManager } from '@datadog/browser-core'
import { createContextManager } from '@datadog/browser-core'
import type { RecorderApi } from '../../boot/rumPublicApi'
import { noopRecorderApi } from '../../../test/noopRecorderApi'
import { noopRecorderApi } from '../../../test'
import type { CommonContext } from './commonContext'
import { buildCommonContext as buildCommonContextImpl } from './commonContext'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RelativeTime } from '@datadog/browser-core'
import { resetExperimentalFeatures, updateExperimentalFeatures, relativeToClocks } from '@datadog/browser-core'
import type { TestSetupBuilder } from '../../../test/testSetupBuilder'
import { setup } from '../../../test/testSetupBuilder'
import type { TestSetupBuilder } from '../../../test'
import { setup } from '../../../test'
import { LifeCycleEventType } from '../lifeCycle'
import type { ViewCreatedEvent, ViewEndedEvent } from '../rumEventsCollection/view/trackViews'
import type { FeatureFlagContexts } from './featureFlagContext'
Expand Down
Loading

0 comments on commit 0b18707

Please sign in to comment.