Food-Static-Data / sd

Food static data wrapper
GNU General Public License v3.0
9 stars 14 forks source link

add tests into src/index.test.js #253

Closed vadim9999 closed 5 years ago

vadim9999 commented 5 years ago

add tests that check each file that exist or not. All static data are in src/data/. Make structure like in cickenKyiv.test.js https://github.com/GroceriStar/groceristar-fetch/blob/master/src/projects/ChickenKyiv/test/chickenKyiv.test.js In index.test.js use import from files.js that is in root of project https://github.com/GroceriStar/sd/blob/master/files.js. Example of importing from files.js you can find here https://github.com/GroceriStar/sd/blob/master/src/data/__tests__/allergy.test.js#L3

Edebo commented 5 years ago

@vadim9999,do i have to do same for all file in groceristar-fetch/src/projects/

vadim9999 commented 5 years ago

@Edebo yes

atherdon commented 5 years ago

@Edebo did we finish this task, right?

atherdon commented 5 years ago

i think it's done