mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-20 15:41:11 +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)
|
frame.fileName = sanitizeName(frame.fileName)
|
||||||
|
|
||||||
// Return if fileName is unknown
|
// Return if fileName is unknown
|
||||||
|
/* istanbul ignore if */
|
||||||
if (!frame.fileName) {
|
if (!frame.fileName) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user