@0x/contracts-test-utils
: Tweak mocha blockchain extensions tests.
This commit is contained in:
parent
e01eadaecd
commit
52aa8e914a
@ -76,7 +76,7 @@ blockchainTests('mocha blockchain extensions', env => {
|
||||
});
|
||||
|
||||
describe('subtests', () => {
|
||||
require('./subtests/mocha_blockchain_1').define(env);
|
||||
require('./subtests/mocha_blockchain_1').append(env);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { blockchainTests, BlockchainTestsEnvironment, expect } from '../../src';
|
||||
|
||||
// tslint:disable: no-default-export completed-docs
|
||||
export function define(env: BlockchainTestsEnvironment): void {
|
||||
export function append(env: BlockchainTestsEnvironment): void {
|
||||
blockchainTests('imported subtests', subtestsEnv => {
|
||||
it('shares the same environment object', () => {
|
||||
expect(subtestsEnv).to.eq(env);
|
||||
|
Loading…
x
Reference in New Issue
Block a user