migrate-mongo
migrate-mongo copied to clipboard
How to Unit test migration functions
We're currently adopting migrate-mongo as our migration tool, but we have concerns about data loss, especially with the down function. Is there a standard or known way to write unit tests for the migration functions(up & down)?