Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
blockchain.createTransaction(tx).then(() => {
const req = mockAxios.lastReqGet().data;
expect(req.params[0]).toHaveProperty('signature');
expect(req.params[0]).toHaveProperty('pubKey');
});
});