Skip to content

Only call scrollTo in environment where window is defined #389

Only call scrollTo in environment where window is defined

Only call scrollTo in environment where window is defined #389

Triggered via pull request February 8, 2025 08:51
Status Failure
Total duration 23m 57s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
⬣ ESLint: app/entry.client.tsx#L3
'useLocation' is defined but never used
⬣ ESLint: app/entry.client.tsx#L3
'useMatches' is defined but never used
⬣ ESLint: app/entry.client.tsx#L4
'useEffect' is defined but never used
⬣ ESLint
Process completed with exit code 1.
ʦ TypeScript: app/components/episode-list.test.tsx#L7
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './episode-list.js'?
ʦ TypeScript: app/components/episode-list.tsx#L5
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../constants.js'?
ʦ TypeScript: app/components/episode-list.tsx#L6
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utils.js'?
ʦ TypeScript: app/components/episode-list.tsx#L7
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './spinner.js'?
ʦ TypeScript: app/components/error-alert.test.tsx#L4
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './error-alert.js'?
ʦ TypeScript: app/components/footer.test.tsx#L4
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './footer.js'?
ʦ TypeScript: app/components/header.test.tsx#L4
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utils.js'?
ʦ TypeScript: app/components/header.test.tsx#L5
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './header.js'?
ʦ TypeScript: app/components/header.tsx#L4
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../utils.js'?
ʦ TypeScript: app/components/show-header.test.tsx#L7
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './show-header.js'?
⚫️ Playwright
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
playwright-report
1.29 MB