Currently the function isRegistration() in /test/mocha/helpers.js is only logging the result instead of actually checking if the result is correct in the test suite. We need to add proper checks here so we ensure that the documents.register() result is correct.
Currently the function
isRegistration()in/test/mocha/helpers.jsis only logging the result instead of actually checking if the result is correct in the test suite. We need to add proper checks here so we ensure that thedocuments.register()result is correct.