CEC-464 can filters forms (#118)

* can filters forms and lists

* unit tests

* updating warnings and tests

* merge develop

* fixed snapshots

* update jest mocks

* updating tests
This commit is contained in:
Drew Taylor
2022-03-03 11:33:07 -08:00
committed by GitHub
parent 3b9252097a
commit b7223b8bc6
37 changed files with 6673 additions and 944 deletions

View File

@@ -5,7 +5,7 @@ import api from "../../services/vehiclesAPI";
const VehicleContext = React.createContext();
const validateAdd = (vehicle) => {
if (vehicle === null) {
if (vehicle == null) {
throw new Error("No vehicle data");
}
@@ -175,7 +175,7 @@ export const VehicleProvider = ({ children }) => {
getState,
getYears,
getVehicles,
sendCommand,
sendCommand
}}
>
{children}