Skip to content

Commit 72755ce

Browse files
committed
style: lint
1 parent 2a9c274 commit 72755ce

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

core/src/components/input-otp/test/basic/input-otp.e2e.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,10 @@ configs({ modes: ['ios'] }).forEach(({ title, config }) => {
247247
});
248248

249249
test('should accept only Chinese characters when pattern is set', async ({ page }) => {
250-
await page.setContent(`<ion-input-otp type="text" pattern="[\\u4e00-\\u9fff]">Description</ion-input-otp>`, config);
250+
await page.setContent(
251+
`<ion-input-otp type="text" pattern="[\\u4e00-\\u9fff]">Description</ion-input-otp>`,
252+
config
253+
);
251254

252255
const inputOtp = page.locator('ion-input-otp');
253256
const firstInput = page.locator('ion-input-otp input').first();
@@ -259,7 +262,10 @@ configs({ modes: ['ios'] }).forEach(({ title, config }) => {
259262
});
260263

261264
test('should accept only Japanese characters when pattern is set', async ({ page }) => {
262-
await page.setContent(`<ion-input-otp type="text" pattern="[\\u3040-\\u309F\\u30A0-\\u30FF]">Description</ion-input-otp>`, config);
265+
await page.setContent(
266+
`<ion-input-otp type="text" pattern="[\\u3040-\\u309F\\u30A0-\\u30FF]">Description</ion-input-otp>`,
267+
config
268+
);
263269

264270
const inputOtp = page.locator('ion-input-otp');
265271
const firstInput = page.locator('ion-input-otp input').first();
@@ -271,7 +277,10 @@ configs({ modes: ['ios'] }).forEach(({ title, config }) => {
271277
});
272278

273279
test('should accept only Korean characters when pattern is set', async ({ page }) => {
274-
await page.setContent(`<ion-input-otp type="text" pattern="[\\uAC00-\\uD7AF\\u1100-\\u11FF]">Description</ion-input-otp>`, config);
280+
await page.setContent(
281+
`<ion-input-otp type="text" pattern="[\\uAC00-\\uD7AF\\u1100-\\u11FF]">Description</ion-input-otp>`,
282+
config
283+
);
275284

276285
const inputOtp = page.locator('ion-input-otp');
277286
const firstInput = page.locator('ion-input-otp input').first();
@@ -283,7 +292,10 @@ configs({ modes: ['ios'] }).forEach(({ title, config }) => {
283292
});
284293

285294
test('should accept only Arabic characters when pattern is set', async ({ page }) => {
286-
await page.setContent(`<ion-input-otp type="text" pattern="[\\u0600-\\u06FF]">Description</ion-input-otp>`, config);
295+
await page.setContent(
296+
`<ion-input-otp type="text" pattern="[\\u0600-\\u06FF]">Description</ion-input-otp>`,
297+
config
298+
);
287299

288300
const inputOtp = page.locator('ion-input-otp');
289301
const firstInput = page.locator('ion-input-otp input').first();

0 commit comments

Comments
 (0)