File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1022,7 +1022,7 @@ export function themeSave(a_theme, a_cb) {
10221022function generateState ( ) {
10231023 const array = new Uint8Array ( 16 ) ;
10241024 window . crypto . getRandomValues ( array ) ;
1025- return Array . from ( array , b => b . toString ( 16 ) . padStart ( 2 , "0" ) ) . join ( "" ) ;
1025+ return Array . from ( array , ( b ) => b . toString ( 16 ) . padStart ( 2 , "0" ) ) . join ( "" ) ;
10261026}
10271027
10281028export function getGlobusConsentURL (
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ describe("getGlobusConsentURL", function () {
6969 // Check that state exists and matches the format generated by generateState
7070 expect ( options . data . state ) . to . be . a ( "string" ) ;
7171 expect ( options . data . state ) . to . match ( / ^ [ 0 - 9 a - f ] { 32 } $ / ) ; // 16 bytes -> 32 hex chars
72-
72+
7373 options . success ( { consent_url : "http://example.com" } ) ;
7474 } ) ;
7575
You can’t perform that action at this time.
0 commit comments