Minor test style improvements (#1219)
* Changed .eq to .equal * Changed equal(bool) to .to.be.bool * Changed be.bool to equal(bool), disallowed unused expressions.
This commit is contained in:
@ -5,7 +5,7 @@ function inLogs (logs, eventName, eventArgs = {}) {
|
||||
should.exist(event);
|
||||
for (const [k, v] of Object.entries(eventArgs)) {
|
||||
should.exist(event.args[k]);
|
||||
event.args[k].should.eq(v);
|
||||
event.args[k].should.equal(v);
|
||||
}
|
||||
return event;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user