Skip to content

Commit 0d45548

Browse files
committed
Remove unnecessary eslint disable directive, and unnecessary await on expectation
1 parent e75c8ae commit 0d45548

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎test/e2e/helpers/baseTest.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* })
2424
* ```
2525
*/
26-
/* eslint-disable no-empty-pattern */
2726
import { test as baseTest, expect } from '@playwright/test'
2827
import pagesData from '@cache/pages.json' with { type: 'json' }
2928
const { describe } = baseTest

‎test/e2e/specs/03-forms/privacy-my-data.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test.describe('Privacy My Data Form', () => {
4141
await expect(deleteMessage).toBeFocused({ timeout: wait.defaultWait })
4242

4343
const callCount = await requestSpy.getCallCount()
44-
await expect(callCount).toBe(0)
44+
expect(callCount).toBe(0)
4545
} finally {
4646
await requestSpy.restore()
4747
}

0 commit comments

Comments
 (0)