aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/core/test
diff options
context:
space:
mode:
Diffstat (limited to 'contracts/core/test')
-rw-r--r--contracts/core/test/global_hooks.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/contracts/core/test/global_hooks.ts b/contracts/core/test/global_hooks.ts
index 847b8ea91..f8ace376a 100644
--- a/contracts/core/test/global_hooks.ts
+++ b/contracts/core/test/global_hooks.ts
@@ -1,7 +1,9 @@
import { env, EnvVars } from '@0x/dev-utils';
-import { coverage, profiler } from '@0x/contracts-test-utils';
-
+import { coverage, profiler, provider } from '@0x/contracts-test-utils';
+before('start web3 provider', () => {
+ provider.start();
+});
after('generate coverage report', async () => {
if (env.parseBoolean(EnvVars.SolidityCoverage)) {
const coverageSubprovider = coverage.getCoverageSubproviderSingleton();
@@ -11,4 +13,5 @@ after('generate coverage report', async () => {
const profilerSubprovider = profiler.getProfilerSubproviderSingleton();
await profilerSubprovider.writeProfilerOutputAsync();
}
+ provider.stop();
});