diff options
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-stream-write-drain.js')
-rw-r--r-- | cli/tests/node_compat/test/parallel/test-stream-write-drain.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-stream-write-drain.js b/cli/tests/node_compat/test/parallel/test-stream-write-drain.js deleted file mode 100644 index 008b2b34b..000000000 --- a/cli/tests/node_compat/test/parallel/test-stream-write-drain.js +++ /dev/null @@ -1,23 +0,0 @@ -// deno-fmt-ignore-file -// deno-lint-ignore-file - -// Copyright Joyent and Node contributors. All rights reserved. MIT license. -// Taken from Node 18.12.1 -// This file is automatically generated by `tools/node_compat/setup.ts`. Do not modify this file manually. - -'use strict'; -const common = require('../common'); -const { Writable } = require('stream'); - -// Don't emit 'drain' if ended - -const w = new Writable({ - write(data, enc, cb) { - process.nextTick(cb); - }, - highWaterMark: 1 -}); - -w.on('drain', common.mustNotCall()); -w.write('asd'); -w.end(); |