@@ -2604,7 +2604,9 @@ describe("BrowserCacheManager tests", () => {
26042604 browserSessionStorage . getTemporaryCache ( "cacheKey" , true )
26052605 ) . toBe ( cacheVal ) ;
26062606 // @ts -ignore
2607- expect ( browserSessionStorage . cookieStorage . getItem ( msalCacheKey ) ) . toEqual ( cacheVal ) ;
2607+ expect (
2608+ browserSessionStorage . cookieStorage . getItem ( msalCacheKey )
2609+ ) . toEqual ( cacheVal ) ;
26082610 // localStorage
26092611 window . localStorage . setItem ( msalCacheKey , cacheVal ) ;
26102612 // @ts -ignore
@@ -2613,14 +2615,18 @@ describe("BrowserCacheManager tests", () => {
26132615 browserLocalStorage . getTemporaryCache ( "cacheKey" , true )
26142616 ) . toBe ( cacheVal ) ;
26152617 // @ts -ignore
2616- expect ( browserLocalStorage . cookieStorage . getItem ( msalCacheKey ) ) . toEqual ( cacheVal ) ;
2618+ expect (
2619+ browserLocalStorage . cookieStorage . getItem ( msalCacheKey )
2620+ ) . toEqual ( cacheVal ) ;
26172621 // browser memory
26182622 browserMemoryStorage . setItem ( msalCacheKey , cacheVal ) ;
26192623 expect (
26202624 browserMemoryStorage . getTemporaryCache ( "cacheKey" , true )
26212625 ) . toBe ( cacheVal ) ;
26222626 // @ts -ignore
2623- expect ( browserMemoryStorage . cookieStorage . getItem ( msalCacheKey ) ) . toEqual ( cacheVal ) ;
2627+ expect (
2628+ browserMemoryStorage . cookieStorage . getItem ( msalCacheKey )
2629+ ) . toEqual ( cacheVal ) ;
26242630 } ) ;
26252631
26262632 it ( "removeTemporaryItem()" , ( ) => {
@@ -2698,10 +2704,7 @@ describe("BrowserCacheManager tests", () => {
26982704
26992705 it ( "getTempCache() with item that contains ==" , ( ) => {
27002706 msalCacheKey = `${ Constants . CACHE_PREFIX } .${ TEST_STATE_VALUES . ENCODED_LIB_STATE } ` ;
2701- const getCookieSpy = jest . spyOn (
2702- CookieStorage . prototype ,
2703- "getItem"
2704- ) ;
2707+ const getCookieSpy = jest . spyOn ( CookieStorage . prototype , "getItem" ) ;
27052708 // sessionStorage
27062709 browserSessionStorage . setItem ( msalCacheKey , cacheVal ) ;
27072710 // @ts -ignore
@@ -2820,13 +2823,13 @@ describe("BrowserCacheManager tests", () => {
28202823 // @ts -ignore
28212824 browserSessionStorage . cookieStorage . setItem ( msalCacheKey , cacheVal ) ;
28222825 // @ts -ignore
2823- expect ( browserSessionStorage . cookieStorage . getItem ( msalCacheKey ) ) . toBe (
2824- cacheVal
2825- ) ;
2826+ expect (
2827+ browserSessionStorage . cookieStorage . getItem ( msalCacheKey )
2828+ ) . toBe ( cacheVal ) ;
28262829 // @ts -ignore
2827- expect ( browserLocalStorage . cookieStorage . getItem ( msalCacheKey ) ) . toBe (
2828- cacheVal
2829- ) ;
2830+ expect (
2831+ browserLocalStorage . cookieStorage . getItem ( msalCacheKey )
2832+ ) . toBe ( cacheVal ) ;
28302833 } ) ;
28312834
28322835 it ( "clearItemCookie()" , ( ) => {
0 commit comments