Closed atherdon closed 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.
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).
@anupmahadev tell me if we can proceed further with this task
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