mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
coverage: ignore file name in error stack trace does not exist
This commit is contained in:
parent
7103b34ec8
commit
e514ce326c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user