mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-01 21:20:44 +00:00
refactor test for AppContainer
This commit is contained in:
parent
b09a745bc9
commit
f4cc0242b3
1 changed files with 0 additions and 5 deletions
|
|
@ -142,9 +142,6 @@ describe('AppContainer State Management', () => {
|
|||
beforeEach(() => {
|
||||
vi.clearAllMocks();
|
||||
|
||||
// Increase max listeners to prevent EventEmitter memory leak warnings in tests
|
||||
process.setMaxListeners(20);
|
||||
|
||||
// Initialize mock stdout for terminal title tests
|
||||
mockStdout = { write: vi.fn() };
|
||||
|
||||
|
|
@ -308,8 +305,6 @@ describe('AppContainer State Management', () => {
|
|||
|
||||
afterEach(() => {
|
||||
cleanup();
|
||||
// Reset max listeners to default
|
||||
process.setMaxListeners(10);
|
||||
});
|
||||
|
||||
describe('Basic Rendering', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue