neuroanatomy / microdraw

Collaborative vectorial annotation tool for ultra high resolution data
https://microdraw.pasteur.fr
GNU General Public License v3.0
23 stars 8 forks source link

Fix the 'save' end-to-end test #49

Closed dhovart closed 2 years ago

dhovart commented 2 years ago

Fix the "save" end to end test that was failing.

I added the test/e2e/screenshots folder to git and edited the .gitignore file to just ignore the images inside. My tests were failing because the folder was missing.

I don't think one should have to mock express if willing to just use the "db" service from the neuroweblab package. It seems to me that such coupling could be prejudicial. I may suggest a change related to this later on.

katjaq commented 2 years ago

Thank you!