From d3927b9abb5e4dff5b159369b0b758315e7f2830 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Fri, 29 Jan 2016 08:24:10 +0000 Subject: [PATCH] Fix test expectations to use JEDEC size notation The 'filesize' npm package now consistently uses JEDEC notation for representing sizes (ie.'KB' instead of 'kB') See https://github.com/avoidwork/filesize.js/issues/69 --- tests/size_tree_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/size_tree_test.ts b/tests/size_tree_test.ts index 413828b..41a133c 100644 --- a/tests/size_tree_test.ts +++ b/tests/size_tree_test.ts @@ -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%) -: 150.33 kB (81.3%)` +: 150.33 KB (81.3%)` ); });