Webfonts analyzis (#209)

Add 3 new rules about webfonts
This commit is contained in:
Gaël Métais
2016-12-20 12:16:28 +08:00
committed by GitHub
parent 9898a8424a
commit 5273dfbbf3
24 changed files with 999 additions and 69 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ describe('fileMinifier', function() {
type: 'js',
contentLength: 999,
weightCheck: {
body: fileContent.toString('utf8'),
bodyBuffer: fileContent,
totalWeight: fileSize + 200,
headersSize: 200,
bodySize: fileSize,
@@ -179,7 +179,7 @@ describe('fileMinifier', function() {
type: 'css',
contentLength: 999,
weightCheck: {
body: fileContent.toString('utf8'),
bodyBuffer: fileContent,
totalWeight: fileSize + 200,
headersSize: 200,
bodySize: fileSize,