GroceriStar / static-data

Development moved to: https://github.com/GroceriStar/groceristar-fetch/ We'll put here static data that we're using in our development progress
0 stars 1 forks source link

ChickenKyiv export data #10

Closed atherdon closed 6 years ago

atherdon commented 6 years ago

we should include this files into main file, related to ChickenKyiv project:

You also should create simple tests for each exported array

https://github.com/GroceriStar/static-data/blob/master/dist/data/simple/Ingredients/Ingredients.js https://github.com/GroceriStar/static-data/blob/master/dist/data/simple/Recipe4/Recipe.js https://github.com/GroceriStar/static-data/blob/master/dist/data/simple/Users/User.js https://github.com/GroceriStar/static-data/blob/master/dist/data/simple/Menu/Menu.js

https://github.com/ChickenKyiv/recipe-api-only/tree/master/bin

atherdon commented 6 years ago

https://github.com/ChickenKyiv/recipe-api-only/commit/918bde87576125131d250868ef02ecbd1c5a4dfd

anupmahadev commented 6 years ago

I think we should check if all the static data type matches with the other data for example: If chicken recipe is being done, then ingredients should match with the items that are used. This is one basic approach of test that can be made.

atherdon commented 6 years ago

for now, it'll be fine if we'll have tests, related to (does we have array with items - yes/no, does count of array elements match).

atherdon commented 6 years ago

@anupmahadev tell me if we can proceed further with this task