This commit is contained in:
2025-05-29 01:00:20 +00:00
parent 2024ea5a69
commit d8d1bdcd41
14 changed files with 190 additions and 791 deletions

View File

@ -9,7 +9,7 @@ tap.test('should handle async handler that sets up listeners after delay', async
match: { ports: 7777 },
action: {
type: 'socket-handler',
socketHandler: async (socket) => {
socketHandler: async (socket, context) => {
// Simulate async work BEFORE setting up listeners
await new Promise(resolve => setTimeout(resolve, 50));