inLogs no longer returns a promise. (#1169)
This commit is contained in:
committed by
Matt Condon
parent
4066b5e683
commit
31fc572abe
@ -1,6 +1,6 @@
|
||||
const should = require('chai').should();
|
||||
|
||||
async function inLogs (logs, eventName, eventArgs = {}) {
|
||||
function inLogs (logs, eventName, eventArgs = {}) {
|
||||
const event = logs.find(e => e.event === eventName);
|
||||
should.exist(event);
|
||||
for (const [k, v] of Object.entries(eventArgs)) {
|
||||
|
||||
Reference in New Issue
Block a user