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 committed 2022-10-11 07:28:05 +02:00
1 parent 96ef25793d
commit 36805e8524
1 file changed
+2 -1
+2 -1
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]',
] : [],
'}',
]