All files / publisher/test-utils mockActiveDeviceMetrics.ts

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

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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 4923x                                                                                                
export const mockActiveDeviceMetrics = {
  active_devices: {
    buckets: [
      "2024-08-19",
      "2024-08-20",
      "2024-08-21",
      "2024-08-22",
      "2024-08-23",
      "2024-08-24",
      "2024-08-25",
      "2024-08-26",
      "2024-08-27",
      "2024-08-28",
      "2024-08-29",
      "2024-08-30",
      "2024-08-31",
      "2024-09-01",
      "2024-09-02",
      "2024-09-03",
      "2024-09-04",
      "2024-09-05",
      "2024-09-06",
      "2024-09-07",
      "2024-09-08",
      "2024-09-09",
      "2024-09-10",
      "2024-09-11",
      "2024-09-12",
      "2024-09-13",
      "2024-09-14",
      "2024-09-15",
      "2024-09-16",
      "2024-09-17",
      "2024-09-18",
    ],
    name: "weekly_installed_base_by_version",
    series: [
      {
        name: "1.0",
        values: [
          9, 9, 8, 8, 9, 8, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5,
          5, 6, 6, 5, 5, 5, 5, 5,
        ],
      },
    ],
  },
  latest_active_devices: 5,
};