I'm getting started with writing JS unit tests in the Truffle framework. I'm curious to learn when to use promises over async? On the surface, async seems a lot cleaner and easier to use for testing purposes.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community