Skip to content

Commit 5d4e837

Browse files
eoghanmurraygithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent 74f9b2d commit 5d4e837

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

packages/rrweb/test/record/mutation.test.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ describe('mutation', () => {
124124
document.body.append(d1);
125125
});
126126
await waitForRAF(page);
127-
const mutations = events.filter((e)=>e.type === EventType.IncrementalSnapshot);;
127+
const mutations = events.filter(
128+
(e) => e.type === EventType.IncrementalSnapshot,
129+
);
128130
await assertSnapshot(mutations, true);
129131
});
130132

@@ -148,7 +150,9 @@ describe('mutation', () => {
148150
d1.append(d3);
149151
});
150152
await waitForRAF(page);
151-
const mutations = events.filter((e)=>e.type === EventType.IncrementalSnapshot);
153+
const mutations = events.filter(
154+
(e) => e.type === EventType.IncrementalSnapshot,
155+
);
152156

153157
// assert has same output as previous test despite difference in way elements are added to DOM
154158
//await assertSnapshot(mutations, 'mutation.test.ts.mutation.add_elements_all_at_once');
@@ -166,7 +170,9 @@ describe('mutation', () => {
166170
d1.append(siblingDiv);
167171
});
168172
await waitForRAF(page);
169-
const mutations = events.filter((e)=>e.type === EventType.IncrementalSnapshot);
173+
const mutations = events.filter(
174+
(e) => e.type === EventType.IncrementalSnapshot,
175+
);
170176
await assertSnapshot(mutations, true);
171177
});
172178

@@ -182,7 +188,9 @@ describe('mutation', () => {
182188
d1.append(siblingDiv2);
183189
});
184190
await waitForRAF(page);
185-
const mutations = events.filter((e)=>e.type === EventType.IncrementalSnapshot);
191+
const mutations = events.filter(
192+
(e) => e.type === EventType.IncrementalSnapshot,
193+
);
186194
await assertSnapshot(mutations, true);
187195
});
188196

@@ -196,8 +204,9 @@ describe('mutation', () => {
196204
d1.append(c1);
197205
});
198206
await waitForRAF(page);
199-
const mutations = events.filter((e)=>e.type === EventType.IncrementalSnapshot);
207+
const mutations = events.filter(
208+
(e) => e.type === EventType.IncrementalSnapshot,
209+
);
200210
await assertSnapshot(mutations, true);
201211
});
202-
203212
});

0 commit comments

Comments
 (0)