@0x/contracts-test-utils
: Fix blockchain environment not being created
with top-level `blockchainTests.resets()` directive.
This commit is contained in:
parent
d3870fed1c
commit
930b742663
@ -79,8 +79,8 @@ function defineBlockchainSuite<T>(
|
||||
callback: Mocha.BlockchainSuiteCallback,
|
||||
describeCall: Mocha.ContextDefinitionCallback<T>,
|
||||
): T {
|
||||
const env = BlockchainTestsEnvironment.create();
|
||||
return describeCall(description, function(this: Mocha.ISuiteCallbackContext): void {
|
||||
const env = BlockchainTestsEnvironment.create();
|
||||
before(
|
||||
async (): Promise<void> => {
|
||||
return env.blockchainLifecycle.startAsync();
|
||||
|
Loading…
x
Reference in New Issue
Block a user