Food-Static-Data/sd

upgrade our examples/tests

Aperta

#524 aperta il 14 giu 2019

 (9 commenti) (0 reazioni) (0 assegnatari)JavaScript (11 fork)auto 404
enhancementgeneratorgood first issuehelp wanted

Metriche repository

Star
 (9 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor