add VehicleConsumer mock (#359)
This commit is contained in:
@@ -92,6 +92,10 @@ export const VehicleProvider = ({ children }) => {
|
||||
return <div data-testid="mocked-vehicleprovider">{children}</div>;
|
||||
};
|
||||
|
||||
export const VehicleConsumer = ({ children }) => {
|
||||
return children();
|
||||
};
|
||||
|
||||
export const useVehicleContext = () => ({
|
||||
busy,
|
||||
models,
|
||||
|
||||
Reference in New Issue
Block a user