test-helpers
This is a library of functions useful to help testing in a keystone environment, using keystone 4-beta3 or later.
npm i --save-dev @thinkmill/test-helpers
Current functions are:
addData
getAddData
returnNew
getReturnNew
dropDatabase
resetDatabase
getGenericResetDatabase
startKeystone