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

Account creation transaction result checked #188

Closed volovyks closed 2 years ago

volovyks commented 2 years ago

Before: if the account was not created, we were throwing errors in the test itself. Usually, it was AccountDoesNotExist. Now: we are throwing errors early so the user knows the account was not created and the real reason for it.

volovyks commented 2 years ago

Looks like now we have strict rules on the RPC side. I'm getting "Please try again in 30 seconds." error in Testnet mode. I'm turning off testnet tests for now.