You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spinner): replace dynamic requires with top-level imports
Replaced all dynamic require() calls for logger and debug modules
with top-level imports to fix module resolution issues in CI tests
on Windows.
Changed:
- require('./logger') → import from './logger' (top of file)
- require('./debug') → import from './debug' (top of file)
This fixes "Cannot find module './logger'" errors that occurred
in CI when vitest ran TypeScript source files on Windows. The
dynamic requires worked locally but failed in CI due to different
module resolution behavior across platforms.
Logger only imports types from spinner, so there's no runtime
circular dependency issue with this change.
Fixes test failures in #14
0 commit comments