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: pass relative paths instead of path.join #65

Closed chadoh closed 2 years ago

chadoh commented 2 years ago

As shown in the AVA tests, this allows passing relative-filepath strings to createAndDeploy rather than requiring people to import path. These paths are assumed to be relative to the package root.

chadoh commented 2 years ago

also allow for imports handle how they resolve their binary

Can you give a quick example or two of situations when this would be useful, and what the syntax might look like?