Skip to content

Commit

Permalink
fix: imports in afterEach
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 authored and mikehardy committed Sep 4, 2023
1 parent b19749c commit 5e6d338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/in-app-messaging/e2e/fiam.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ describe('inAppMessaging()', function () {
// These depend on `tests/firebase.json` having `in_app_messaging_auto_collection_enabled` set to false the first time
// The setting is persisted across restarts, reset to false after for local runs where prefs are sticky
afterEach(async function () {
const { getInAppMessaging, setAutomaticDataCollectionEnabled } = inAppMessagingModular;
const inAppMessaging = getInAppMessaging();
await setAutomaticDataCollectionEnabled(inAppMessaging, false);
});

Expand Down

0 comments on commit 5e6d338

Please sign in to comment.