test: user istanbul ignore next due to nyc issue

This commit is contained in:
Clark Du 2018-01-29 11:01:37 +08:00
parent b0eada0410
commit a2ac4cb331
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ async function readSource(frame) {
}
// Fallback: use server bundle
/* istanbul ignore if */
// TODO: restore to if after https://github.com/istanbuljs/nyc/issues/595 fixed
/* istanbul ignore next */
if (!frame.contents) {
frame.contents = this.resources.serverBundle.files[frame.fileName]
}