Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}).then(() => {
// now test being able to save user to persistence store
return FabricCAServices.newDefaultKeyValueStore({
path: testUtil.KVS
});
}, () => {
t.fail('Failed to configure the user with proper enrollment materials.');