chore: fix lint-frontend errors

This commit is contained in:
Maxim Slipenko 2026-03-21 12:53:28 +03:00
parent 3ff92f0556
commit 52845400a7

View file

@ -518,7 +518,7 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
await suggestionList.waitFor();
await expect(suggestionList).toBeVisible();
await textarea.press('Enter');
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 `);
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 `);
// Test pull request completion via '#'
await textarea.press('Enter');
@ -527,7 +527,7 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
await expect(suggestionList).toBeVisible();
await textarea.press('Enter');
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 `);
// Test pull request completion via '!'
await textarea.press('Enter');
await textarea.pressSequentially('!issue');
@ -537,14 +537,12 @@ test('text expander has higher prio then prefix continuation', async ({page}) =>
// Only pull requests should be suggested, not issues
await expect(suggestionList.locator('[class*="octicon-issue"]')).toHaveCount(0);
await expect(suggestionList.locator('[class*="octicon-git-pull-request"]')).not.toHaveCount(0);
await textarea.press('Enter');
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 \n* !2 `);
await textarea.press('Enter');
await expect(textarea).toHaveValue(`* first\n* 😸\n* @user2 \n* #1 \n* !5 \n* !2 \n* `);
});
test('Combo Markdown: preview mode switch', async ({page}) => {