near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 22 forks source link

Log near.log() events with console.log() #184

Closed volovyks closed 2 years ago

volovyks commented 2 years ago

Now devs need to

const res = await callRaw(...)
console.log(res.logs)

to get their logs from the sandbox.

Let's log them by default in call() and view() function to enable easier debuging.