chore: correctly ignore ts rules

This commit is contained in:
leejooy96 committed 2025-04-27 18:56:05 +09:00
1 parent 5918ab4c76
commit e5ce304081
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ export const test = base.test.extend({
page: async ({}, use) => {
await use(page)
},
// @ts-ignore
// @ts-expect-error: `util` is not using types in playwright
util: async ({ page }, use, testInfo) => {
await use(new TestUtil(page, testInfo, __testScreenshotPath))
}
+2 -2
View File
@@ -3,7 +3,7 @@ import { test, expect, beforeAll, afterAll } from '../fixtures.mjs'
test.beforeAll(beforeAll)
test.afterAll(afterAll)
// @ts-ignore
// @ts-expect-error: `util` is not using types in playwright
test('Document element check', async ({ page, util }) => {
try {
await expect(
@@ -21,7 +21,7 @@ test('Document element check', async ({ page, util }) => {
}
})
// @ts-ignore
// @ts-expect-error: `util` is not using types in playwright
test('Counter button click check', async ({ page, util }) => {
try {
await page.getByTestId('btn-counter').click({ clickCount: 10, delay: 50 })