Farmbot-Web-App/frontend/__test_support__/fake_crop_search_result.ts

15 lines
360 B
TypeScript
Raw Permalink Normal View History

2018-11-28 15:29:46 -07:00
import { CropLiveSearchResult } from "../farm_designer/interfaces";
export const fakeCropLiveSearchResult = (): CropLiveSearchResult => ({
crop: {
name: "Mint",
slug: "mint",
binomial_name: "",
common_names: [],
description: "",
sun_requirements: "",
sowing_method: "",
processing_pictures: 0
}, image: "fake-mint-svg"
2018-11-28 15:29:46 -07:00
});