File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -403,17 +403,17 @@ function firebaseAppTests(
403
403
) . throws ( / ' a b c ' .* e x i s t s / i) ;
404
404
} ) ;
405
405
406
- it ( 'automaticDataCollectionEnabled is `false ` by default' , ( ) => {
406
+ it ( 'automaticDataCollectionEnabled is `true ` by default' , ( ) => {
407
407
const app = firebase . initializeApp ( { } , 'my-app' ) ;
408
- expect ( app . automaticDataCollectionEnabled ) . to . eq ( false ) ;
408
+ expect ( app . automaticDataCollectionEnabled ) . to . eq ( true ) ;
409
409
} ) ;
410
410
411
411
it ( 'automaticDataCollectionEnabled can be set via the config object' , ( ) => {
412
412
const app = firebase . initializeApp (
413
413
{ } ,
414
- { automaticDataCollectionEnabled : true }
414
+ { automaticDataCollectionEnabled : false }
415
415
) ;
416
- expect ( app . automaticDataCollectionEnabled ) . to . eq ( true ) ;
416
+ expect ( app . automaticDataCollectionEnabled ) . to . eq ( false ) ;
417
417
} ) ;
418
418
419
419
it ( 'Modifying options object does not change options.' , ( ) => {
You can’t perform that action at this time.
0 commit comments