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 21 forks source link

feat: rename to near-workspaces #94

Closed chadoh closed 2 years ago

chadoh commented 2 years ago

The library will now be named near-workspaces. The interface changes to:

import {Workspace} from 'near-workspaces';

const workspace = Workspace.init();

workspace.fork(…);
workspace.fork(…);
workspace.fork(…);

And for near-workspaces-ava it changes to:

import {Workspace} from 'near-workspaces-ava';

const workspace = Workspace.init();

workspace.test('test description', async (test, {root, alice, bob}) => {
  // …
});