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

feat: support pointing at testnet #5

Closed chadoh closed 3 years ago

chadoh commented 3 years ago

work in progress

Fixes #2

allow passing network option to Runtime config to point tests at testnet

willemneal commented 3 years ago

Since this now works without jest I think it's worth merging and then making another PR to fix jest.

willemneal commented 3 years ago

Okay so it seems that the /home/runner/.near-credentials/testnet, folder didn't exist and wasn't automatically created. Will add the fix.

However, one of the tests still failed but reported that it passed.