diff options
Diffstat (limited to 'cli/tests/node_compat/test/parallel/test-next-tick-when-exiting.js')
-rw-r--r-- | cli/tests/node_compat/test/parallel/test-next-tick-when-exiting.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-next-tick-when-exiting.js b/cli/tests/node_compat/test/parallel/test-next-tick-when-exiting.js deleted file mode 100644 index 5f20b5247..000000000 --- a/cli/tests/node_compat/test/parallel/test-next-tick-when-exiting.js +++ /dev/null @@ -1,21 +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 assert = require('assert'); - -process.on('exit', () => { - assert.strictEqual(process._exiting, true); - - process.nextTick( - common.mustNotCall('process is exiting, should not be called') - ); -}); - -process.exit(); |