@@ -173,8 +173,8 @@ describe('LDProvider', () => {
173173 const context : LDContext = { key : 'yus' , kind : 'user' , name : 'yus ng' } ;
174174 const options : LDOptions = {
175175 bootstrap : {
176- 'test-flag' : true
177- }
176+ 'test-flag' : true ,
177+ } ,
178178 } ;
179179 const props : ProviderConfig = { clientSideID, context, options } ;
180180
@@ -189,16 +189,16 @@ describe('LDProvider', () => {
189189 < App />
190190 </ LDProvider >
191191 ) ;
192- const instance = create ( LaunchDarklyApp ) . root . findByType ( LDProvider ) . instance as EnhancedComponent
192+ const instance = create ( LaunchDarklyApp ) . root . findByType ( LDProvider ) . instance as EnhancedComponent ;
193193 instance . setState = jest . fn ( ) ;
194- await instance ?. componentDidMount ( )
194+ await instance ?. componentDidMount ( ) ;
195195
196196 expect ( mockInitLDClient ) . toHaveBeenCalledWith ( clientSideID , context , options , undefined ) ;
197197 expect ( instance . setState ) . toHaveBeenCalledWith ( {
198198 error : true ,
199- flags : { testFlag : true } ,
200- unproxiedFlags : { 'test-flag' : true , } ,
201- flagKeyMap : { testFlag : 'test-flag' } ,
199+ flags : { testFlag : true } ,
200+ unproxiedFlags : { 'test-flag' : true } ,
201+ flagKeyMap : { testFlag : 'test-flag' } ,
202202 ldClient : mockLDClient ,
203203 } ) ;
204204 } ) ;
0 commit comments