Deploy to production

* Fix template function (#105)

* CEC-638 Add EK test ECU (#106)

* CEC-638 Add EK ECU

* Update test

* CEC-638 Should be EKS (#107)

* Should be EKS

* Update snapshot

* CEC-624 Display update status info and ECU (#108)

* Diplay ECU name in update status (#110)

Optimize car update status progress control
Remove car update status page test
Replace with individual component tests

* Handle case ECU is not in message (#111)

* Refresh button label (#112)

* Update ECU refresh button label

* Update snapshot

* remove

* CEC-660 Fix release notes field (#113)

* CEC-775 Manifest details component (#114)

* CEC-775 Manifest details component

* Code smells

* Fix build warning
This commit is contained in:
John Wu
2022-01-27 17:19:44 -08:00
committed by GitHub
parent 6a20f8f003
commit 97b215ec35
33 changed files with 3067 additions and 1085 deletions

View File

@@ -3,6 +3,37 @@ import React from "react";
const ManifestsContext = React.createContext();
let busy = false;
let manifest = {
id: 1,
name: "Test Deployment",
version: "1.0.100",
description: "Deployment folder test",
release_notes: "https://releasenotes.com",
ecu_list: "ICC 1000",
ecu_updates: [
{
name: "ICC",
part_number: "BBBBBB",
version: "1000",
files: [
{
file_id: "b0cda514c94080b4",
filename: "LARGE.jpg",
url: "https://upload-dev.fiskerdps.com/92bbc448-99c8-4851-91ad-f8042e4deb49/LARGE.jpg",
file_size: 14559274,
size: 14488498,
type: "ODX Data",
created: "2021-12-09T22:38:29.102813Z",
updated: "2021-12-09T22:38:29.102813Z",
},
],
created: "2021-12-09T22:38:20.408351Z",
updated: "2022-01-14T00:47:08.996451Z",
},
],
created: "2021-12-09T22:38:11.679943Z",
updated: "2022-01-14T00:47:08.996451Z",
};
let manifests = [
{
id: 1,
@@ -22,6 +53,7 @@ export const useManifestsContext = () => ({
busy,
manifests,
totalManifests,
getManifest: jest.fn(() => manifest),
getManifests: jest.fn(() => manifests),
deleteManifest: jest.fn(),
});