CEC-247, CEC-261 Manifest and ECU display (#65)

* CEC-261 Add ECU list control

* CEC-261 Update vehicle service mock

* CEC-247 Manifest screens

* Fix test

* Remove dynamic dates from mocks

* Remove timezone from mock dates

* Fix test for date string timezone difference
This commit is contained in:
John Wu
2021-07-16 10:49:10 -07:00
committed by GitHub
parent ab37cd598f
commit 83105fb7ca
26 changed files with 3626 additions and 240 deletions

View File

@@ -134,11 +134,30 @@ describe("VehicleContext", () => {
});
const expectedVehicleData = [
{ vin: "3C4PDCBG0ET127145", connected: true },
{
vin: "3C4PDCBG0ET127145",
year: 2021,
model: "Ocean",
trim: "Basic",
ecu_list: "ECUA 2.0.0, ECUB 2.1.1",
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 },
{ vin: "1HGCG325XYA062256", year: 2021, connected: true },
{ vin: "1J4GZ78YXWC160024", year: 2021, model: "Ocean", connected: true },
{ vin: "2C3CCAAG8CH222800", model: "Ocean", trim: "Basic", connected: true },
{
vin: "KNADM4A39C6028108",
year: 2021,
model: "Ocean",
trim: "Basic",
connected: true,
},
{
vin: "1G11C5SL9FF153507",
year: 2021,
model: "Ocean",
trim: "Basic",
connected: true,
},
];