Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 21, 2024
1 parent 6f77552 commit 00439b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,12 +844,12 @@ describe('server', function () {
})
})

it.skip('should send multiple messages for multiple writes', function (done) {
it('should send multiple messages for multiple writes', function (done) {
doObserve()

server.on('request', (req, res) => {
res.write('hello')
setImmediate(function () {
originalSetImmediate(function () {
res.end('world')
})
})
Expand Down Expand Up @@ -943,7 +943,9 @@ describe('server', function () {
res._counter = 4242

res.write('hello')
res.end('world')
originalSetImmediate(function () {
res.end('world')
})
})

// the first one is an ack
Expand Down

0 comments on commit 00439b1

Please sign in to comment.