Skip to content

Commit 26a4574

Browse files
committed
style: lint
1 parent d99ee7f commit 26a4574

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

core/src/components/item-sliding/test/async/item-sliding.e2e.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,29 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
3939
await expect(itemSlidingEl).toHaveClass(/item-sliding-active-slide/);
4040
});
4141

42-
test('should not throw errors when adding multiple items with side="end" using the Ionic CDN', async ({ page }, testInfo) => {
42+
test('should not throw errors when adding multiple items with side="end" using the Ionic CDN', async ({
43+
page,
44+
}, testInfo) => {
4345
testInfo.annotations.push({
4446
type: 'issue',
4547
description: 'https://github.com/ionic-team/ionic-framework/issues/29499',
4648
});
4749

4850
const errors: string[] = [];
49-
page.on('console', msg => {
51+
page.on('console', (msg) => {
5052
if (msg.type() === 'error') {
5153
errors.push(msg.text());
5254
}
5355
});
54-
page.on('pageerror', error => {
56+
page.on('pageerror', (error) => {
5557
errors.push(error.message);
5658
});
5759

5860
// This issue only happens when using a CDN version of Ionic
5961
// so we need to use the CDN by passing the `importIonicFromCDN` option
6062
// to setContent.
61-
await page.setContent(`
63+
await page.setContent(
64+
`
6265
<ion-header>
6366
<ion-toolbar>
6467
<ion-title>Item Sliding</ion-title>
@@ -99,7 +102,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
99102
});
100103
}
101104
</script>
102-
`, { ...config, importIonicFromCDN: true });
105+
`,
106+
{ ...config, importIonicFromCDN: true }
107+
);
103108

104109
// Click the button enough times to reproduce the issue
105110
const addButton = page.locator('#addItem');

0 commit comments

Comments
 (0)