@0x/contracts-test-utils: Export a custom describe() instead of

extending Mocha's ambient declarations.
`@0x/contracts-exchange`: Use `describe.optional` instead of
`blockchainTests.optional` in `test/fill_order.ts`.
This commit is contained in:
Lawrence Forman
2019-07-28 13:23:47 -04:00
parent 930b742663
commit 3cf48a831b
4 changed files with 140 additions and 115 deletions

View File

@@ -1,4 +1,4 @@
import { blockchainTests } from '@0x/contracts-test-utils';
import { blockchainTests, describe } from '@0x/contracts-test-utils';
import * as _ from 'lodash';
import {
@@ -664,7 +664,7 @@ blockchainTests.resets('FillOrder Tests', ({ web3Wrapper, txDefaults }) => {
}
});
blockchainTests.optional('Combinatorially generated fills orders', () => {
describe.optional('Combinatorially generated fills orders', () => {
const allFillScenarios = FillOrderCombinatorialUtils.generateFillOrderCombinations();
for (const fillScenario of allFillScenarios) {
const description = `Combinatorial OrderFill: ${JSON.stringify(fillScenario)}`;