All files / tools/ReFlex.TrackingServer/ClientApp/src/app/settings settings.component.test-data.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 0/0
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 351x           1x       1x           1x       1x       1x             1x      
import {
  DepthCameraState,
  PerformanceData,
  TrackingConfigState
} from '@reflex/shared-types';
 
export const logService = {
  sendErrorLog: vi.fn().mockName('fakeLogService.sendErrorLog')
};
 
export const settingsService = {
  getSettings: vi.fn().mockName('fakeSettingsService.getSettings'),
  getCanRestore: vi.fn().mockName('fakeSettingsService.getCanRestore'),
  update: vi.fn().mockName('fakeSettingsService.update')
};
 
export const trackingService = {
  getStatus: vi.fn().mockName('fakeTrackingService.getStatus')
};
 
export const performanceService = {
  getData: vi.fn().mockName('fakePerformanceService.getData')
};
 
export const state: TrackingConfigState = {
  isCameraSelected: true,
  selectedCameraName: 'TestCamera',
  selectedConfigurationName: 'TestConfig',
  depthCameraStateName: DepthCameraState[DepthCameraState.Streaming]
};
 
export const perfData: PerformanceData = {
  data: []
};