From 0c3abbb2db8e582eba37b3c4e568dacd3d823218 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 5 Jan 2018 13:04:52 +0330 Subject: [PATCH] coverage for http2.shouldPush --- test/fixtures/with-config/nuxt.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/fixtures/with-config/nuxt.config.js b/test/fixtures/with-config/nuxt.config.js index 8c560b6a34..7d4904da25 100644 --- a/test/fixtures/with-config/nuxt.config.js +++ b/test/fixtures/with-config/nuxt.config.js @@ -70,7 +70,8 @@ module.exports = { ], render: { http2: { - push: true + push: true, + shouldPush: (file, type) => type === 'script' }, bundleRenderer: { shouldPreload: (file, type) => {