mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: grammar typo
This commit is contained in:
parent
15a1d1608a
commit
10c4cbac80
|
@ -12,17 +12,14 @@ const { expect } = require('chai');
|
||||||
makeSuite('Pausable Pool', (testEnv: TestEnv) => {
|
makeSuite('Pausable Pool', (testEnv: TestEnv) => {
|
||||||
let _mockFlashLoanReceiver = {} as MockFlashLoanReceiver;
|
let _mockFlashLoanReceiver = {} as MockFlashLoanReceiver;
|
||||||
|
|
||||||
const {
|
const { LP_IS_PAUSED, INVALID_FROM_BALANCE_AFTER_TRANSFER, INVALID_TO_BALANCE_AFTER_TRANSFER } =
|
||||||
LP_IS_PAUSED,
|
ProtocolErrors;
|
||||||
INVALID_FROM_BALANCE_AFTER_TRANSFER,
|
|
||||||
INVALID_TO_BALANCE_AFTER_TRANSFER,
|
|
||||||
} = ProtocolErrors;
|
|
||||||
|
|
||||||
before(async () => {
|
before(async () => {
|
||||||
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succees', async () => {
|
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succeeds', async () => {
|
||||||
const { users, pool, dai, aDai, configurator } = testEnv;
|
const { users, pool, dai, aDai, configurator } = testEnv;
|
||||||
|
|
||||||
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
||||||
|
|
|
@ -22,7 +22,7 @@ makeSuite('Pause Reserve', (testEnv: TestEnv) => {
|
||||||
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succees', async () => {
|
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succeeds', async () => {
|
||||||
const { users, pool, dai, aDai, configurator } = testEnv;
|
const { users, pool, dai, aDai, configurator } = testEnv;
|
||||||
|
|
||||||
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
||||||
|
|
|
@ -22,7 +22,7 @@ makeSuite('Pausable Pool', (testEnv: TestEnv) => {
|
||||||
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
_mockFlashLoanReceiver = await getMockFlashLoanReceiver();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succees', async () => {
|
it('User 0 deposits 1000 DAI. Configurator pauses pool. Transfers to user 1 reverts. Configurator unpauses the network and next transfer succeeds', async () => {
|
||||||
const { users, pool, dai, aDai, configurator } = testEnv;
|
const { users, pool, dai, aDai, configurator } = testEnv;
|
||||||
|
|
||||||
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
const amountDAItoDeposit = await convertToCurrencyDecimals(dai.address, '1000');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user