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
| file |`--file="test/registry/*.js"`| (Truffle) Filename or glob describing a subset of tests to run. (Globs must be enclosed by quotes and use [globby matching patterns][38])|
74
-
| testfiles |`--testfiles "test/registry/*.ts"`| (Buidler) Test file(s) to run. (Globs must be enclosed by quotes and use [globby matching patterns][38])|
57
+
| testfiles |`--testfiles "test/registry/*.ts"`| Test file(s) to run. (Globs must be enclosed by quotes and use [globby matching patterns][38])|
75
58
| solcoverjs |`--solcoverjs ./../.solcover.js`| Relative path from working directory to config. Useful for monorepo packages that share settings. (Path must be "./" prefixed) |
76
-
| network |`--network development`| Use network settings defined in the Truffle or Buidler config |
59
+
| network |`--network development`| Use network settings defined in the Hardhat config |
77
60
| temp[<sup>*</sup>][14]|`--temp build`|:warning:**Caution**:warning: Path to a *disposable* folder to store compilation artifacts in. Useful when your test setup scripts include hard-coded paths to a build directory. [More...][14]|
`solcjs` also has some limits on the size of the code bundle it can process. If you see errors like:
@@ -112,7 +72,7 @@ uint x = 5; uint y = 7;
112
72
113
73
## Running out of time
114
74
115
-
Truffle sets a default mocha timeout of 5 minutes. Because tests run slower under coverage, it's possible to hit this limit with a test that iterates hundreds of times before producing a result. Timeouts can be disabled by configuring the mocha option in `.solcover.js` as below: (ProTip courtesy of [@cag](https://github.com/cag))
75
+
Because tests run slower under coverage, it's possible to hit default mocha time limits with a test that iterates hundreds of times before producing a result. Timeouts can be disabled by configuring the mocha option in `.solcover.js` as below: (ProTip courtesy of [@cag](https://github.com/cag))
116
76
117
77
```javascript
118
78
module.exports= {
@@ -185,3 +145,5 @@ If an `assert` or `require` is marked with an `I` in the coverage report, then d
0 commit comments