Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Apr 28, 2024
1 parent d5b72f9 commit 9d8d8e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/never-drain.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ function retryUntilTimeout (fn, timeout) {
})
}

test('emit warning when the worker gracefully exit without the stream ended', async function (t) {
const isNode18 = process.version.indexOf('v18') === 0

test('emit warning when the worker gracefully exit without the stream ended', { skip: !isNode18 }, async function (t) {
const expectedWarning = 'ThreadStream: process exited before destination stream was drained. this may indicate that the destination stream try to write to a another missing stream'
const stream = new ThreadStream({
filename: join(__dirname, 'to-next.js')
Expand Down

0 comments on commit 9d8d8e7

Please sign in to comment.