g3yang / MetaCoin

0 stars 0 forks source link

js tests should use async/await #2

Open hswick opened 6 years ago

hswick commented 6 years ago

Using async/await instead of promise.then is much cleaner.

Check out here: https://github.com/TrueBitFoundation/incentive-layer/blob/master/test/incentive_layer.js

g3yang commented 6 years ago

@hswick Thanks. It is exactly what I wanted to improve!