Skip to content

Commit 7cac540

Browse files
committed
Fix app-compat tests
1 parent f4b8589 commit 7cac540

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/app-compat/test/firebaseAppCompat.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -403,17 +403,17 @@ function firebaseAppTests(
403403
).throws(/'abc'.*exists/i);
404404
});
405405

406-
it('automaticDataCollectionEnabled is `false` by default', () => {
406+
it('automaticDataCollectionEnabled is `true` by default', () => {
407407
const app = firebase.initializeApp({}, 'my-app');
408-
expect(app.automaticDataCollectionEnabled).to.eq(false);
408+
expect(app.automaticDataCollectionEnabled).to.eq(true);
409409
});
410410

411411
it('automaticDataCollectionEnabled can be set via the config object', () => {
412412
const app = firebase.initializeApp(
413413
{},
414-
{ automaticDataCollectionEnabled: true }
414+
{ automaticDataCollectionEnabled: false }
415415
);
416-
expect(app.automaticDataCollectionEnabled).to.eq(true);
416+
expect(app.automaticDataCollectionEnabled).to.eq(false);
417417
});
418418

419419
it('Modifying options object does not change options.', () => {

0 commit comments

Comments
 (0)