Merge development (#86)
This commit is contained in:
23
src/services/__mocks__/updatesAPI.js
Normal file
23
src/services/__mocks__/updatesAPI.js
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
|
||||
const updatesAPI = {
|
||||
createCarUpdates: async (data, token) => {
|
||||
if (!data.id) data.id = 0;
|
||||
data.id++;
|
||||
return data;
|
||||
},
|
||||
|
||||
getCarUpdates: async (filter, token) => {
|
||||
return { data: [] };
|
||||
},
|
||||
|
||||
getVINUpdates: async (vin, token) => {
|
||||
return { data: [] };
|
||||
},
|
||||
|
||||
getCarUpdateProgress: async (carupdateids, token) => {
|
||||
return { statuses: [] };
|
||||
},
|
||||
};
|
||||
|
||||
export default updatesAPI;
|
||||
Reference in New Issue
Block a user