@@ -28,7 +28,6 @@ describe('getFramedEncryptStream', () => {
2828 getCipher ,
2929 { } as any ,
3030 ( ) => { } ,
31- false ,
3231 { } as any
3332 )
3433 expect ( test . _transform ) . is . a ( 'function' )
@@ -37,13 +36,13 @@ describe('getFramedEncryptStream', () => {
3736 it ( 'Precondition: plaintextLength must be within bounds.' , ( ) => {
3837 const getCipher : any = ( ) => { }
3938 expect ( ( ) =>
40- getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , false , {
39+ getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , {
4140 plaintextLength : - 1 ,
4241 suite,
4342 } )
4443 ) . to . throw ( Error , 'plaintextLength out of bounds.' )
4544 expect ( ( ) =>
46- getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , false , {
45+ getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , {
4746 plaintextLength : Number . MAX_SAFE_INTEGER + 1 ,
4847 suite,
4948 } )
@@ -53,7 +52,7 @@ describe('getFramedEncryptStream', () => {
5352 * I want to make sure that I don't have an errant off by 1 error.
5453 */
5554 expect ( ( ) =>
56- getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , false , {
55+ getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , {
5756 plaintextLength : Number . MAX_SAFE_INTEGER ,
5857 suite,
5958 } )
@@ -62,7 +61,7 @@ describe('getFramedEncryptStream', () => {
6261
6362 it ( 'Precondition: Must not process more than plaintextLength.' , ( ) => {
6463 const getCipher : any = ( ) => { }
65- const test = getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , false , {
64+ const test = getFramedEncryptStream ( getCipher , { } as any , ( ) => { } , {
6665 plaintextLength : 8 ,
6766 suite,
6867 } )
@@ -79,7 +78,6 @@ describe('getFramedEncryptStream', () => {
7978 getCipher ,
8079 { frameLength } as any ,
8180 ( ) => { } ,
82- false ,
8381 { } as any
8482 )
8583
@@ -114,7 +112,6 @@ describe('getEncryptFrame', () => {
114112 encryptedDataKeys : [ ] ,
115113 } ,
116114 suite,
117- utf8Sorting : false ,
118115 }
119116 const test1 = getEncryptFrame ( input )
120117 expect ( test1 . content ) . to . equal ( input . pendingFrame . content )
@@ -149,7 +146,6 @@ describe('getEncryptFrame', () => {
149146 encryptedDataKeys : [ ] ,
150147 } ,
151148 suite,
152- utf8Sorting : false ,
153149 }
154150
155151 expect ( ( ) => getEncryptFrame ( inputFinalFrameToLarge ) ) . to . throw (
@@ -176,7 +172,6 @@ describe('getEncryptFrame', () => {
176172 encryptedDataKeys : [ ] ,
177173 } ,
178174 suite,
179- utf8Sorting : false ,
180175 }
181176
182177 // Make sure that it must be equal as long as we are here...
0 commit comments