Share your code.
Stub out the database with an in-memory store for tests involving a docparse model
Dependency tracking by David
/*** Stub out your model by requiring it via docparse-model-stub. Now since docparse-upload is cached,* future calls to require('docparse-upload') will load the mocked version**/var Upload = 'docparse-upload';var upload = ;uploadstatus = 'dummy status';uploadhash = 'dummy hash';uploadsupplier_code = 'dummy supplier code';uploadsupplier = ;upload;
npm install docparse-model-stub