Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
afterAll(() => {
ABIDecoder.removeABI(repaymentRouter.abi);
});
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
afterEach(async () => {
await web3Utils.revertToSnapshot(currentSnapshotId);
ABIDecoder.removeABI(dummyREPToken.abi);
});
afterAll(() => {
ABIDecoder.removeABI(this.debtKernel.abi);
});
afterAll(() => {
ABIDecoder.removeABI(coreContract.abi);
});
const isInterface = contract.unlinked_binary === '0x';
const isConstant = methodIDs[key].constant
const isEvent = methodIDs[key].type === 'event'
const hasName = methodIDs[key].name
if (hasName && !isConstant && !isEvent && !isInterface) {
methodMap[name + '_' + key] = {
key: key,
contract: name,
method: methodIDs[key].name,
gasData: [],
numberOfCalls: 0
}
}
})
abiDecoder.removeABI(contract._json.abi)
})
});