Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error
This commit is contained in:
Drew Taylor
2021-08-03 16:34:37 -07:00
committed by GitHub
parent df50ef79b9
commit 0f377d5467
31 changed files with 1120 additions and 508 deletions

View File

@@ -11,7 +11,7 @@ const data = [
const vehiclesAPI = {
getVehicles: async (search, token) => { return { data }; },
addVehicle: async (vehicle, token) => {
addVehicle: async (vehicle, token) => {
data.push(vehicle);
return vehicle;
},
@@ -38,7 +38,10 @@ const vehiclesAPI = {
});
return result;
}
},
getLocations: jest.fn().mockResolvedValue([
{ "altitude": 5, "longitude": 10, "latitude": 15, "vin": "TESTVIN123" },
]),
};
export default vehiclesAPI;