import { DummyTokenContract } from "../../../../../../types/generated/dummy_token" ; import { DEFAULT_REGISTER_REPAYMENT_ARGS , RegisterRepaymentScenario } from "./" ; const defaultArgs = DEFAULT_REGISTER_REPAYMENT_ARGS ; defaultArgs . succeeds = false ; export const UNSUCCESSFUL_REGISTER_REPAYMENT_SCENARIOS = [ { description : "when called from outside the RepaymentRouter" , ... defaultArgs , repayFromRouter : false , reverts : true , } , { description : "when payment is attempted with the incorrect token" , ... defaultArgs , repaymentToken : ( principalToken , otherToken ) => otherToken , } , ] ;