Skip to content

Commit 87018f2

Browse files
authored
style(e2e): satisfy prettier on catalog-ratings (#901)
Frontend Check (format) went red on development after the history-routing change: replacing the two hash deep-links left a line prettier reformats. ⚠️ The gate checks **/*.{js,ts,vue,css,scss} -- TESTS INCLUDED. Checking only src/ (which is what 'npm run lint' covers) misses it, which is how this reached development twice in a row.
1 parent 328db56 commit 87018f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/spec-coverage/catalog-ratings.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ async function newAnonymousContext(): Promise<APIRequestContext> {
136136

137137
/** Open the seeded module's detail page and wait for the reviews panel. */
138138
async function openModuleReviews(page: Page): Promise<void> {
139-
await page.goto(`${APP_BASE.replace(/\/$/, "")}/modules/${moduleUuid}`, {
139+
await page.goto(`${APP_BASE.replace(/\/$/, '')}/modules/${moduleUuid}`, {
140140
waitUntil: 'domcontentloaded',
141141
})
142142
await page
@@ -379,7 +379,7 @@ test('reviews: a module with no approved reviews shows the empty aggregate, not
379379
})
380380
expect(uuid, 'isolated module fixture has no uuid').not.toBe('')
381381

382-
await page.goto(`${APP_BASE.replace(/\/$/, "")}/modules/${uuid}`, {
382+
await page.goto(`${APP_BASE.replace(/\/$/, '')}/modules/${uuid}`, {
383383
waitUntil: 'domcontentloaded',
384384
})
385385
await page

0 commit comments

Comments
 (0)