Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writing-automated-tests translation #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

writing-automated-tests translation #7

wants to merge 4 commits into from

Conversation

sharonduu
Copy link

No description provided.


```console
$ npm install --save-dev @openzeppelin/test-environment
```

Once you `require` the library from your JavaScript code, it will automatically run a local testing blockchain for you. It also exports a list of accounts that have been pre-funded with Ether and convenient ways to load your contracts from their compiled artifacts, among other utilities.
一旦你 `require` 了自己的JavaScript代码库,它将会自动运行一个本地测试链。它将会输出一个账户列表,列表中的账户都预先充值了Ether。还会列出通过编译后的文件和通过其他实体来加载合约的简便方法。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utilities -> 通常是指 帮助工具(函数)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants