Skip to content

Commit

Permalink
Fix travis (eslint & smoke)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Apr 22, 2018
1 parent 1ac3263 commit 89f43e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module.exports = [
items: [
{
url: 'http://localhost:10200/dobetterweb/lighthouse-rotating.gif',
transferSize: 934407,
totalBytes: 934407,
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class EfficientAnimatedContent extends ByteEfficiencyAudit {
return {
url: record.url,
totalBytes: record.resourceSize,
wastedBytes: record.resourceSize * EfficientAnimatedContent.getPercentSavings(record.resourceSize),
wastedBytes: record.resourceSize *
EfficientAnimatedContent.getPercentSavings(record.resourceSize),
};
});

Expand All @@ -70,7 +71,13 @@ class EfficientAnimatedContent extends ByteEfficiencyAudit {
granularity: 1,
text: 'Transfer Size',
},
{key: 'wastedBytes', itemType: 'bytes', displayUnit: 'kb', granularity: 1, text: 'Byte Savings'},
{
key: 'wastedBytes',
itemType: 'bytes',
displayUnit: 'kb',
granularity: 1,
text: 'Byte Savings',
},
];

return {
Expand Down

0 comments on commit 89f43e6

Please sign in to comment.