CEC-1050 New manifest format (#117)
* CEC-1050 Manifest changes * Fix delete bug * Add approve update button * Code smell * Remove update approval
This commit is contained in:
@@ -44,8 +44,17 @@ let carUpdateLog = {
|
||||
created: "2021-08-23T17:06:38.030052Z",
|
||||
updated: "2021-08-23T17:06:38.030052Z",
|
||||
},
|
||||
{
|
||||
id: 88,
|
||||
carupdate_id: 284,
|
||||
status: "install_approval_await",
|
||||
error_code: 0,
|
||||
info: "TEST",
|
||||
created: "2021-08-23T17:06:38.030052Z",
|
||||
updated: "2021-08-23T17:06:38.030052Z",
|
||||
},
|
||||
],
|
||||
total: 2,
|
||||
total: 3,
|
||||
};
|
||||
|
||||
export const CarUpdatesProvider = ({ children }) => {
|
||||
@@ -64,4 +73,5 @@ export const useCarUpdatesContext = () => ({
|
||||
getVINUpdates: jest.fn(() => carUpdates),
|
||||
startMonitor: jest.fn(),
|
||||
stopMonitor: jest.fn(),
|
||||
approveUpdate: jest.fn(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user