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): remove .js extensions from dynamic requires
Changed require('./logger.js') to require('./logger') and
require('./debug.js') to require('./debug') to fix test failures.
The .js extensions work in compiled output but fail when vitest
runs TypeScript source directly. Node.js module resolution
automatically adds the correct extension (.ts in source, .js
in compiled output) when no extension is specified.
This fixes CI test failures where tests couldn't find modules:
- Error: Cannot find module './logger.js'
Fixes test failures in #14
0 commit comments