test: adapt test-repl for V8 update

The inspector console now has a new `createTask` method.

PR-URL: https://github.com/nodejs/node/pull/44741
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Michaël Zasso 2022-09-08 06:31:22 +02:00
parent 96ef25793d
commit 36805e8524
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
1 changed files with 2 additions and 1 deletions

View File

@ -786,7 +786,8 @@ const errorTests = [
' profile: [Function: profile],',
' profileEnd: [Function: profileEnd],',
' timeStamp: [Function: timeStamp],',
' context: [Function: context]',
' context: [Function: context],',
' createTask: [Function: createTask]',
] : [],
'}',
]