CEC-287 Car connection status (#59)

* Car connection status

* Formatting
This commit is contained in:
John Wu
2021-06-23 14:48:19 -07:00
committed by GitHub
parent 5b37f39e74
commit a3b6b01bf3
6 changed files with 79 additions and 19 deletions

View File

@@ -133,14 +133,12 @@ describe("VehicleContext", () => {
});
});
const expectedVehicleData = {
data: [
{ vin: "3C4PDCBG0ET127145" },
{ vin: "1G1FP87S3GN100062" },
{ vin: "1HGCG325XYA062256" },
{ vin: "1J4GZ78YXWC160024" },
{ vin: "2C3CCAAG8CH222800" },
{ vin: "KNADM4A39C6028108" },
{ vin: "1G11C5SL9FF153507" },
],
};
const expectedVehicleData = [
{ vin: "3C4PDCBG0ET127145", connected: true },
{ vin: "1G1FP87S3GN100062", connected: true },
{ vin: "1HGCG325XYA062256", connected: true },
{ vin: "1J4GZ78YXWC160024", connected: true },
{ vin: "2C3CCAAG8CH222800", connected: true },
{ vin: "KNADM4A39C6028108", connected: true },
{ vin: "1G11C5SL9FF153507", connected: true },
];