coverage: ignore file name in error stack trace does not exist

This commit is contained in:
Clark Du 2018-03-09 10:18:08 +08:00
parent 7103b34ec8
commit e514ce326c
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -74,6 +74,7 @@ async function readSource(frame) {
frame.fileName = sanitizeName(frame.fileName)
// Return if fileName is unknown
/* istanbul ignore if */
if (!frame.fileName) {
return
}