12 lines
441 B
TypeScript
12 lines
441 B
TypeScript
import { makeSuite, TestEnv } from '../helpers/make-suite';
|
|
import { ZERO_ADDRESS } from '@aave/deploy-v3';
|
|
|
|
const { expect } = require('chai');
|
|
|
|
makeSuite('AaveIncentivesControllerV2 initialize', (testEnv: TestEnv) => {
|
|
it('Tries to call initialize second time, should be reverted', async () => {
|
|
const { rewardsController } = testEnv;
|
|
await expect(rewardsController.initialize(ZERO_ADDRESS)).to.be.reverted;
|
|
});
|
|
});
|