[auto-fix] Apply ESLint and Prettier fixes

This commit is contained in:
GitHub Action
2025-09-13 10:27:34 +00:00
parent 0ae6e26052
commit 35e56a441c
5 changed files with 64 additions and 48 deletions

View File

@@ -1,4 +1,5 @@
import { expect } from '@playwright/test'
import { comfyPageFixture as test } from './fixtures/ComfyPage'
import { LocationMock } from './helpers/locationMock'
@@ -66,9 +67,15 @@ test.describe('Location Mock Example', () => {
await locationMock.reload()
// Verify mock methods were called
expect(consoleMessages.some((msg) => msg.includes('location.assign'))).toBeTruthy()
expect(consoleMessages.some((msg) => msg.includes('location.replace'))).toBeTruthy()
expect(consoleMessages.some((msg) => msg.includes('location.reload'))).toBeTruthy()
expect(
consoleMessages.some((msg) => msg.includes('location.assign'))
).toBeTruthy()
expect(
consoleMessages.some((msg) => msg.includes('location.replace'))
).toBeTruthy()
expect(
consoleMessages.some((msg) => msg.includes('location.reload'))
).toBeTruthy()
})
test('should work with Happy DOM globals', async ({ page, comfyPage }) => {
@@ -93,4 +100,4 @@ test.describe('Location Mock Example', () => {
expect(location.canReplace).toBeTruthy()
expect(location.canReload).toBeTruthy()
})
})
})