From a2ac4cb331f5e4bf078bbca185add5beead063ba Mon Sep 17 00:00:00 2001 From: Clark Du Date: Mon, 29 Jan 2018 11:01:37 +0800 Subject: [PATCH] test: user istanbul ignore next due to nyc issue --- lib/core/middleware/error.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/middleware/error.js b/lib/core/middleware/error.js index d219db5881..52e2603ea6 100644 --- a/lib/core/middleware/error.js +++ b/lib/core/middleware/error.js @@ -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] }