From e9d998e5226599ed45982d6716e4ea9beeb2f33c Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 16 May 2017 01:30:06 +0430 Subject: [PATCH] Coverage --- lib/render.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/render.js b/lib/render.js index ad33723dda..9c79d15c37 100644 --- a/lib/render.js +++ b/lib/render.js @@ -49,7 +49,7 @@ export async function render (req, res) { /* istanbul ignore next */ req.url = url } - /* istanbul ignore if */ + /* istanbul ignore next */ if (this.dev && req.url.indexOf(self.options.build.publicPath) === 0 && req.url.includes('.hot-update.json')) { res.statusCode = 404 return {html: ''} @@ -66,7 +66,7 @@ export async function render (req, res) { res.end(html, 'utf8') return html } catch (err) { - /* istanbul ignore if */ + /* istanbul ignore next */ if (context.redirected) { console.error(err) // eslint-disable-line no-console return err