From 217055e1784b87483ef2de2bbabacc752e408b15 Mon Sep 17 00:00:00 2001 From: John Wu <76966357+jwu-fisker@users.noreply.github.com> Date: Wed, 28 Sep 2022 20:36:20 -0700 Subject: [PATCH] CEC-2611 add icc online to car details (#207) --- src/components/Cars/Status/DigitalTwinTab.jsx | 3 + .../DigitalTwinTab.test.jsx.snap | 142 +----------------- 2 files changed, 4 insertions(+), 141 deletions(-) diff --git a/src/components/Cars/Status/DigitalTwinTab.jsx b/src/components/Cars/Status/DigitalTwinTab.jsx index de84bb1..f49acd7 100644 --- a/src/components/Cars/Status/DigitalTwinTab.jsx +++ b/src/components/Cars/Status/DigitalTwinTab.jsx @@ -48,6 +48,9 @@ const Main = (props) => {
Connected: {carState.online.toString()}
+
+ ICC Connected: {carState?.online_hmi.toString()} +
)} diff --git a/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap b/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap index a376e8e..096928e 100644 --- a/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap +++ b/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap @@ -1,143 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`DigitalTwinTab Render 1`] = ` -
-
-
-
-
-
- Digital Twin -
-
- - Connected - - : - false -
-
-

- - Battery - - : - 95% -

-
-

- Doors -

-

- - hood - - : - closed -

-

- - left_front - - : - closed -

-

- - left_rear - - : - closed -

-

- - right_front - - : - closed -

-

- - right_rear - - : - closed -

-

- - trunk - - : - closed -

-
-
-

- Location -

-

- - altitude - - : - 17 -

-

- - longitude - - : - -122.414° -

-

- - latitude - - : - 37.764° -

-
-
-

- - Trex Version - - : - 1000000 -

-
-
-

- - Updated at - - : - 7/26/2022 12:26:38 AM -

-
-
-
-
-
-
-
-`; +exports[`DigitalTwinTab Render 1`] = `
`;