coverage for http2.shouldPush

This commit is contained in:
Pooya Parsa 2018-01-05 13:04:52 +03:30
parent 1dc0bfc903
commit 0c3abbb2db

View File

@ -70,7 +70,8 @@ module.exports = {
], ],
render: { render: {
http2: { http2: {
push: true push: true,
shouldPush: (file, type) => type === 'script'
}, },
bundleRenderer: { bundleRenderer: {
shouldPreload: (file, type) => { shouldPreload: (file, type) => {