File tree Expand file tree Collapse file tree
packages/react-native-nitro-storage/src/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,9 @@ describe("special number serialization", () => {
189189
190190 it ( "deserializes -Infinity correctly" , ( ) => {
191191 expect (
192- deserializeWithPrimitiveFastPath ( "__nitro_storage_primitive__:n:-Infinity" ) ,
192+ deserializeWithPrimitiveFastPath (
193+ "__nitro_storage_primitive__:n:-Infinity" ,
194+ ) ,
193195 ) . toBe ( - Infinity ) ;
194196 } ) ;
195197
@@ -214,9 +216,7 @@ describe("special number serialization", () => {
214216
215217describe ( "toVersionToken" , ( ) => {
216218 it ( 'returns "missing" token for undefined' , ( ) => {
217- expect ( toVersionToken ( undefined ) ) . toBe (
218- "__nitro_storage_version__:missing" ,
219- ) ;
219+ expect ( toVersionToken ( undefined ) ) . toBe ( "__nitro_storage_version__:missing" ) ;
220220 } ) ;
221221
222222 it ( "returns consistent hash for same string" , ( ) => {
Original file line number Diff line number Diff line change @@ -1972,9 +1972,9 @@ describe("isKeychainLockedError", () => {
19721972 } ) ;
19731973
19741974 it ( 'returns true for "android.security.keystore"' , ( ) => {
1975- expect (
1976- isKeychainLockedError ( new Error ( "android.security.keystore" ) ) ,
1977- ) . toBe ( true ) ;
1975+ expect ( isKeychainLockedError ( new Error ( "android.security.keystore" ) ) ) . toBe (
1976+ true ,
1977+ ) ;
19781978 } ) ;
19791979
19801980 it ( "returns false for unrelated Error" , ( ) => {
@@ -2215,9 +2215,7 @@ describe("createSecureAuthStorage", () => {
22152215 ) ;
22162216
22172217 auth . token . set ( "val" ) ;
2218- mockHybridObject . get . mockReturnValue (
2219- serializeWithPrimitiveFastPath ( "val" ) ,
2220- ) ;
2218+ mockHybridObject . get . mockReturnValue ( serializeWithPrimitiveFastPath ( "val" ) ) ;
22212219
22222220 // The item was created — ttlMs presence is verified by the factory accepting it
22232221 // without throwing. We verify the item is functional.
You can’t perform that action at this time.
0 commit comments