@0x/contracts-test-utils: Tweak mocha blockchain extensions tests.

This commit is contained in:
Lawrence Forman 2019-07-28 00:47:21 -04:00
parent e01eadaecd
commit 52aa8e914a
2 changed files with 2 additions and 2 deletions

View File

@ -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);
});
});
});

View File

@ -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);