@@ -124,7 +124,9 @@ describe('mutation', () => {
124
124
document . body . append ( d1 ) ;
125
125
} ) ;
126
126
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
+ ) ;
128
130
await assertSnapshot ( mutations , true ) ;
129
131
} ) ;
130
132
@@ -148,7 +150,9 @@ describe('mutation', () => {
148
150
d1 . append ( d3 ) ;
149
151
} ) ;
150
152
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
+ ) ;
152
156
153
157
// assert has same output as previous test despite difference in way elements are added to DOM
154
158
//await assertSnapshot(mutations, 'mutation.test.ts.mutation.add_elements_all_at_once');
@@ -166,7 +170,9 @@ describe('mutation', () => {
166
170
d1 . append ( siblingDiv ) ;
167
171
} ) ;
168
172
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
+ ) ;
170
176
await assertSnapshot ( mutations , true ) ;
171
177
} ) ;
172
178
@@ -182,7 +188,9 @@ describe('mutation', () => {
182
188
d1 . append ( siblingDiv2 ) ;
183
189
} ) ;
184
190
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
+ ) ;
186
194
await assertSnapshot ( mutations , true ) ;
187
195
} ) ;
188
196
@@ -196,8 +204,9 @@ describe('mutation', () => {
196
204
d1 . append ( c1 ) ;
197
205
} ) ;
198
206
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
+ ) ;
200
210
await assertSnapshot ( mutations , true ) ;
201
211
} ) ;
202
-
203
212
} ) ;
0 commit comments