@0x/contracts-exchange: Add tests and run prettier.
This commit is contained in:
10
contracts/test-utils/test/subtests/mocha_blockchain_1.ts
Normal file
10
contracts/test-utils/test/subtests/mocha_blockchain_1.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { blockchainTests, BlockchainTestsEnvironment, expect } from '../../src';
|
||||
|
||||
// tslint:disable: no-default-export completed-docs
|
||||
export function define(env: BlockchainTestsEnvironment): void {
|
||||
blockchainTests('imported subtests', subtestsEnv => {
|
||||
it('shares the same environment object', () => {
|
||||
expect(subtestsEnv).to.eq(env);
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user