fix unit test

This commit is contained in:
Cynthia Long
2026-03-17 14:32:04 +00:00
parent abb4583554
commit ecae62e25a
@@ -144,7 +144,11 @@ describe('ConsolePatcher', () => {
it('should ignore log and info when debugMode is false', () => {
const spyError = vi.spyOn(console, 'error').mockImplementation(() => {});
patcher = new ConsolePatcher({ debugMode: false, stderr: true });
patcher = new ConsolePatcher({
debugMode: false,
stderr: true,
headlessMode: true,
});
patcher.patch();
console.log('test log');