integration tests

This commit is contained in:
Michael Zhu
2019-11-18 14:44:31 -08:00
parent d51bbb0008
commit bb5885e2bb
23 changed files with 872 additions and 58 deletions

View File

@@ -36,7 +36,7 @@ export function validStakeAssertion(
return new FunctionAssertion(stakingWrapper.stake, {
before: async (amount: BigNumber, txData: Partial<TxData>) => {
// Simulates the transfer of ZRX from staker to vault
const expectedBalances = LocalBalanceStore.create(deployment.devUtils, balanceStore);
const expectedBalances = LocalBalanceStore.create(balanceStore);
await expectedBalances.transferAssetAsync(
txData.from as string,
zrxVault.address,