1- why listening to events in truffle require another library called truffle-assertions, why can't we just use
contractInstance.events.EventName() like we do in the browser?
if truffle also use web3 then why can't we have that?
2- why calling functions is also different for example:
calling a function that will create a transaction in the browser is like this:
whilst in truffle we dont need to use send(),and we can specify the transaction parameter as a final arugment to functionName like this :
calling a pure or view function in the browser:
in truffle :
functionName(para1..paramN)// we dont use
the previous functions will give the same results