Food-Static-Data/sd

upgrade our examples/tests

Open

#524 opened on Jun 14, 2019

 (9 comments) (0 reactions) (0 assignees)JavaScript (11 forks)auto 404
enhancementgeneratorgood first issuehelp wanted

Repository metrics

Stars
 (9 stars)
PR merge metrics
 (PR metrics pending)

Description

So, we have a folder https://github.com/GroceriStar/sd/tree/master/tests/examples

And here are simple tests, aka non-empty https://github.com/GroceriStar/sd/blob/master/tests/testFilesCheck/exampleFiles.test.js

As you can see - we have a pretty similar code there. we should update it and instead of having copy-paste - create a function and just pass a variable into it

https://github.com/GroceriStar/sd/blob/master/tests/projects/GroceriStar/groceristar.test.js#L32-L42

Contributor guide