Skip to content

Commit 97fb81e

Browse files
committed
Add prettier formatting
1 parent 7526be5 commit 97fb81e

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

packages/uui-toast-notification/lib/uui-toast-notification.test.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,19 @@ describe('UUIToastNotificationElement', () => {
221221
element.pauseAutoClose();
222222

223223
// Wait for OPENED event
224-
const openedListener = oneEvent(element, UUIToastNotificationEvent.OPENED);
224+
const openedListener = oneEvent(
225+
element,
226+
UUIToastNotificationEvent.OPENED
227+
);
225228
const openedEvent = await openedListener;
226229
expect(openedEvent).to.exist;
227230
expect(openedEvent.type).to.equal(UUIToastNotificationEvent.OPENED);
228231

229232
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;
231237

232238
const closeListener = oneEvent(
233239
element,
@@ -256,7 +262,10 @@ describe('UUIToastNotificationElement', () => {
256262
element.open = true;
257263

258264
// Wait for OPENED event
259-
const openedListener = oneEvent(element, UUIToastNotificationEvent.OPENED);
265+
const openedListener = oneEvent(
266+
element,
267+
UUIToastNotificationEvent.OPENED
268+
);
260269
const openedEvent = await openedListener;
261270
expect(openedEvent).to.exist;
262271
expect(openedEvent.type).to.equal(UUIToastNotificationEvent.OPENED);
@@ -277,7 +286,10 @@ describe('UUIToastNotificationElement', () => {
277286
element.open = true;
278287

279288
// Wait for OPENED event
280-
const openedListener = oneEvent(element, UUIToastNotificationEvent.OPENED);
289+
const openedListener = oneEvent(
290+
element,
291+
UUIToastNotificationEvent.OPENED
292+
);
281293
const openedEvent = await openedListener;
282294
expect(openedEvent).to.exist;
283295
expect(openedEvent.type).to.equal(UUIToastNotificationEvent.OPENED);

0 commit comments

Comments
 (0)