Skip to content

Commit a198405

Browse files
committed
Run formatting
1 parent 13043b3 commit a198405

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/analytics/testing/integration-tests/integration.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function checkForEventCalls(retryCount = 0): Promise<PerformanceEntry[]> {
5050
if (callsWithEvent.length === 0) {
5151
return checkForEventCalls(retryCount + 1);
5252
} else {
53-
console.log("Events: ", JSON.stringify(callsWithEvent));
53+
console.log('Events: ', JSON.stringify(callsWithEvent));
5454
return callsWithEvent;
5555
}
5656
}
@@ -62,10 +62,12 @@ describe('FirebaseAnalytics Integration Smoke Tests', () => {
6262
// This is required since gtag/logEvent behaviour is dependent on the session state; if an event has already been logged
6363
// in a session, the event will be sent in the request payload instead of the query string.
6464
beforeEach(() => {
65-
document.cookie.split(";").forEach((cookie) => {
66-
document.cookie = cookie.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/")
65+
document.cookie.split(';').forEach(cookie => {
66+
document.cookie = cookie
67+
.replace(/^ +/, '')
68+
.replace(/=.*/, '=;expires=' + new Date().toUTCString() + ';path=/');
6769
});
68-
})
70+
});
6971

7072
describe('Using getAnalytics()', () => {
7173
afterEach(() => deleteApp(app));

0 commit comments

Comments
 (0)