From 672a4b93ba2d3e218b7ec7e0eba53e82349ac432 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 4 Dec 2018 12:10:03 +0100 Subject: Don't start the provider by default --- contracts/core/test/global_hooks.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'contracts/core') 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(); }); -- cgit v1.2.3