Skip to content

Commit

Permalink
Fix test expectations to use JEDEC size notation
Browse files Browse the repository at this point in the history
The 'filesize' npm package now consistently uses
JEDEC notation for representing sizes (ie.'KB' instead of 'kB')

See avoidwork/filesize.js#69
  • Loading branch information
robertknight committed Jan 29, 2016
1 parent 7cbe483 commit d3927b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/size_tree_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ describe('printDependencySizeTree()', () => {

expect(output).to.equal(
`
marked: 27.53 kB (14.9%)
lru-cache: 6.29 kB (3.40%)
marked: 27.53 KB (14.9%)
lru-cache: 6.29 KB (3.40%)
style-loader: 717 B (0.379%)
<self>: 150.33 kB (81.3%)`
<self>: 150.33 KB (81.3%)`
);
});

Expand Down

0 comments on commit d3927b9

Please sign in to comment.