We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d53332 commit 059b72cCopy full SHA for 059b72c
test/log.js
@@ -54,7 +54,7 @@ each(EVENTS, ({ title }, { eventName, emit }) => {
54
55
t.true(log.called)
56
57
- const snapshot = log.args.flatMap(snapshotArgs)
+ const snapshot = [].concat(...log.args.map(snapshotArgs))
58
t.snapshot(snapshot)
59
60
stopLogging()
0 commit comments