@@ -116,7 +116,7 @@ describe("processPipes", () => {
116116 ] ;
117117 it . each ( stringCases ) (
118118 "process %j with pipe %j should return %j" ,
119- ( value , parameter , result ) => {
119+ ( value , parameter ) => {
120120 const [ pipe , param1 , param2 ] = parameter . split ( ":" ) ;
121121 expect (
122122 processPipes ( value , [
@@ -133,7 +133,7 @@ describe("processPipes", () => {
133133 it . each ( [
134134 [ [ 1 , 2 , 3 , 4 , 5 ] , "slice:1:3" , [ 2 , 3 ] ] ,
135135 [ [ 1 , 2 , 3 , 4 , 5 ] , "slice:1" , [ 2 , 3 , 4 , 5 ] ] ,
136- ] ) ( "process %j with pipe %j should return %j" , ( value , parameter , result ) => {
136+ ] ) ( "process %j with pipe %j should return %j" , ( value , parameter ) => {
137137 const [ pipe , param1 , param2 ] = parameter . split ( ":" ) ;
138138 expect (
139139 processPipes ( value , [
@@ -266,8 +266,8 @@ describe("processPipes", () => {
266266 } ) ;
267267
268268 const unitFormatParams : [ any , [ Identifier , Parameters ] , any ] [ ] = [
269- [ 1024 .0, [ "unitFormat" , [ "KBps" ] ] , [ "1.00" , "MBps" ] ] ,
270- [ 1024 .0, [ "unitFormat" , [ "KBps" , 3 ] ] , [ "1.000" , "MBps" ] ] ,
269+ [ 1000 .0, [ "unitFormat" , [ "KBps" ] ] , [ "1.00" , "MBps" ] ] ,
270+ [ 1000 .0, [ "unitFormat" , [ "KBps" , 3 ] ] , [ "1.000" , "MBps" ] ] ,
271271 ] ;
272272 it . each ( unitFormatParams ) (
273273 "pipeUnitFormat should work" ,
0 commit comments