test: remove obsolete code
The removed line does not add anything of value to the test. It was removed to simplify the test. PR-URL: https://github.com/nodejs/node/pull/25731 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
8c12a78d20
commit
3732d7786b
@ -15,7 +15,6 @@ const testMe = repl.start('', putIn);
|
||||
// `Runtime.executionContextCreated` listener
|
||||
process.on('warning', common.mustNotCall());
|
||||
|
||||
putIn.run(['.clear']);
|
||||
putIn.run(['async function test() {']);
|
||||
for (let i = 0; i < DEFAULT_MAX_LISTENERS; i++) {
|
||||
testMe.complete('await Promise.resolve()', () => {});
|
||||
|
Loading…
x
Reference in New Issue
Block a user