@@ -221,13 +221,19 @@ describe('UUIToastNotificationElement', () => {
221
221
element . pauseAutoClose ( ) ;
222
222
223
223
// Wait for OPENED event
224
- const openedListener = oneEvent ( element , UUIToastNotificationEvent . OPENED ) ;
224
+ const openedListener = oneEvent (
225
+ element ,
226
+ UUIToastNotificationEvent . OPENED
227
+ ) ;
225
228
const openedEvent = await openedListener ;
226
229
expect ( openedEvent ) . to . exist ;
227
230
expect ( openedEvent . type ) . to . equal ( UUIToastNotificationEvent . OPENED ) ;
228
231
229
232
element . resumeAutoClose ( ) ;
230
- expect ( element . open , 'Element should still be open immediately after resuming' ) . to . be . true ;
233
+ expect (
234
+ element . open ,
235
+ 'Element should still be open immediately after resuming'
236
+ ) . to . be . true ;
231
237
232
238
const closeListener = oneEvent (
233
239
element ,
@@ -256,7 +262,10 @@ describe('UUIToastNotificationElement', () => {
256
262
element . open = true ;
257
263
258
264
// Wait for OPENED event
259
- const openedListener = oneEvent ( element , UUIToastNotificationEvent . OPENED ) ;
265
+ const openedListener = oneEvent (
266
+ element ,
267
+ UUIToastNotificationEvent . OPENED
268
+ ) ;
260
269
const openedEvent = await openedListener ;
261
270
expect ( openedEvent ) . to . exist ;
262
271
expect ( openedEvent . type ) . to . equal ( UUIToastNotificationEvent . OPENED ) ;
@@ -277,7 +286,10 @@ describe('UUIToastNotificationElement', () => {
277
286
element . open = true ;
278
287
279
288
// Wait for OPENED event
280
- const openedListener = oneEvent ( element , UUIToastNotificationEvent . OPENED ) ;
289
+ const openedListener = oneEvent (
290
+ element ,
291
+ UUIToastNotificationEvent . OPENED
292
+ ) ;
281
293
const openedEvent = await openedListener ;
282
294
expect ( openedEvent ) . to . exist ;
283
295
expect ( openedEvent . type ) . to . equal ( UUIToastNotificationEvent . OPENED ) ;
0 commit comments