Fixed any lingering style issues
This commit is contained in:
parent
666b992c51
commit
b7adf59ed5
@ -185,7 +185,7 @@ describe('ERC1155Token', () => {
|
|||||||
receiverCallbackData,
|
receiverCallbackData,
|
||||||
{ from: spender },
|
{ from: spender },
|
||||||
);
|
);
|
||||||
expect(tx).to.revertWith(expectedError);
|
return expect(tx).to.revertWith(expectedError);
|
||||||
});
|
});
|
||||||
it('should throw if callback reverts', async () => {
|
it('should throw if callback reverts', async () => {
|
||||||
// setup test parameters
|
// setup test parameters
|
||||||
@ -361,7 +361,7 @@ describe('ERC1155Token', () => {
|
|||||||
receiverCallbackData,
|
receiverCallbackData,
|
||||||
{ from: spender },
|
{ from: spender },
|
||||||
);
|
);
|
||||||
expect(tx).to.revertWith(expectedError);
|
return expect(tx).to.revertWith(expectedError);
|
||||||
});
|
});
|
||||||
it('should throw if callback reverts', async () => {
|
it('should throw if callback reverts', async () => {
|
||||||
// setup test parameters
|
// setup test parameters
|
||||||
|
@ -17,7 +17,7 @@ import {
|
|||||||
} from '@0x/contracts-test-utils';
|
} from '@0x/contracts-test-utils';
|
||||||
import { BlockchainLifecycle } from '@0x/dev-utils';
|
import { BlockchainLifecycle } from '@0x/dev-utils';
|
||||||
import { assetDataUtils, ExchangeRevertErrors } from '@0x/order-utils';
|
import { assetDataUtils, ExchangeRevertErrors } from '@0x/order-utils';
|
||||||
import { AssetProxyId, RevertReason } from '@0x/types';
|
import { AssetProxyId } from '@0x/types';
|
||||||
import { BigNumber, OwnableRevertErrors } from '@0x/utils';
|
import { BigNumber, OwnableRevertErrors } from '@0x/utils';
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
import { LogWithDecodedArgs } from 'ethereum-types';
|
import { LogWithDecodedArgs } from 'ethereum-types';
|
||||||
|
@ -3,7 +3,6 @@ import {
|
|||||||
chaiSetup,
|
chaiSetup,
|
||||||
constants,
|
constants,
|
||||||
FillResults,
|
FillResults,
|
||||||
getRevertReasonOrErrorMessageForSendTransactionAsync,
|
|
||||||
provider,
|
provider,
|
||||||
testCombinatoriallyWithReferenceFuncAsync,
|
testCombinatoriallyWithReferenceFuncAsync,
|
||||||
txDefaults,
|
txDefaults,
|
||||||
@ -12,7 +11,7 @@ import {
|
|||||||
} from '@0x/contracts-test-utils';
|
} from '@0x/contracts-test-utils';
|
||||||
import { BlockchainLifecycle } from '@0x/dev-utils';
|
import { BlockchainLifecycle } from '@0x/dev-utils';
|
||||||
import { Order, RevertReason, SignedOrder } from '@0x/types';
|
import { Order, RevertReason, SignedOrder } from '@0x/types';
|
||||||
import { BigNumber, SafeMathRevertErrors, providerUtils } from '@0x/utils';
|
import { BigNumber, providerUtils, SafeMathRevertErrors } from '@0x/utils';
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user