@0x/contracts-exchange: Add tests and run prettier.

This commit is contained in:
Lawrence Forman
2019-07-28 00:31:45 -04:00
parent 61fc32b7c0
commit e01eadaecd
4 changed files with 144 additions and 59 deletions

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