add missing report.length > 1 assertion (#12257)
This commit is contained in:
parent
8993a2c6ed
commit
90dc897f71
1 changed files with 4 additions and 2 deletions
|
@ -269,8 +269,10 @@ describe('crashReporter module', () => {
|
|||
: acc
|
||||
}, { timestamp: 0 })
|
||||
|
||||
assert(lastReport != null)
|
||||
assert(lastReport.date.toString() === newestReport.report.date.toString())
|
||||
assert(reports.length > 1, 'has more than 1 report')
|
||||
assert(lastReport != null, 'found a last report')
|
||||
assert(lastReport.date.toString() === newestReport.report.date.toString(),
|
||||
'last report is correct')
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue