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
{{ message }}
Repository navigation
Commit 457d33f
Browse filesBrowse the repository at this point in the historyBrowse files
test: stop leaking isInteractive out of project-commands
The beforeEach assigned helpers.isInteractive = () => true and never put it
back. Under mocha every test file shares one module registry, so from the
moment this file ran, everything after it saw an interactive terminal
regardless of the environment - which is why project-name-service passed in
CI despite depending on the non-interactive path, and why it only failed once
per-file isolation removed the leak.
Uses setIsInteractive(), the override the helper already exposes for this,
with an afterEach to restore - matching how project-name-service pins it.
0 commit comments