SyncM8/syncm8

View on GitHub
client/src/pages/Mates/mockData.ts

Summary

Maintainability
A
0 mins
Test Coverage
import {
  familyOneMate,
  familyTwoMates,
  mate2NoSync,
  mate3NoSync,
  mateNoSync,
  sync1,
  sync2,
  sync3,
} from "../../graphql/mock";
import { MateRecord } from "../types";

export const mockData: MateRecord[] = [
  {
    key: mateNoSync.id,
    mate: mateNoSync,
    family: familyOneMate,
    lastSync: sync1,
    nextSync: sync2,
    numSyncs: 12,
  },
  {
    key: mate2NoSync.id,
    mate: mate2NoSync,
    family: familyTwoMates,
    lastSync: sync2,
    nextSync: sync1,
    numSyncs: 9,
  },
  {
    key: mate3NoSync.id,
    mate: mate3NoSync,
    family: familyOneMate,
    lastSync: sync3,
    nextSync: sync2,
    numSyncs: 24,
  },
];

export const hello = "asdf";