You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(@embark/test-runner): introduce artifacts.require API
This commit adds a convenience API `artifacts.require(name)` that aims to make
requiring artifacts a little bit more straight forward.
Usage:
```
const SimpleStorage = artifacts.require('SimpleStorage');
const EmbarkJS = artifacts.require('EmbarkJS');
```
`${__('WARNING!')}${__('Use')}${`artifacts.require('EmbarkJS')`.cyan}, ${__('the syntax').yellow}${`require('${req}')`.cyan}${__('has been deprecated and will be removed in future versions').yellow}`
`${__('WARNING!')}${__('Use')}${`artifacts.require('${artifactName}')`.cyan}, ${__('the syntax').yellow}${`require('${req}')`.cyan}${__('has been deprecated and will be removed in future versions').yellow}`
0 commit comments