[tests] Update useServerLogs test after log subscription change

The test was expecting subscribeLogs(false) to be called, but this was commented out in commit 33d64475 to fix logs stopping after the first of multiple queue tasks. Updated test to reflect this temporary change.
This commit is contained in:
bymyself
2025-06-23 06:01:04 -07:00
committed by Jin Yi
parent 642f79c20d
commit c8137ab535

View File

@@ -54,7 +54,10 @@ describe('useServerLogs', () => {
await startListening()
await stopListening()
expect(api.subscribeLogs).toHaveBeenCalledWith(false)
// TODO: Update this test when subscribeLogs(false) is re-enabled
// Currently commented out in useServerLogs to prevent logs from stopping
// after 1st of multiple queue tasks
expect(api.subscribeLogs).toHaveBeenCalledWith(true)
})
it('should register event listener when starting', async () => {