From 115a7ca42a6b13577d53a12cc1eb3dfd764d1025 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Fri, 13 Sep 2024 20:36:02 +0200 Subject: [PATCH] test: add missing await Add missing `await` in `test/parallel/test-inspector-async-stack-traces-promise-then.js`. PR-URL: https://github.com/nodejs/node/pull/54828 Reviewed-By: Jake Yuesong Li Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Moshe Atlow Reviewed-By: Richard Lau Reviewed-By: Michael Dawson --- test/parallel/test-inspector-async-stack-traces-promise-then.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-inspector-async-stack-traces-promise-then.js b/test/parallel/test-inspector-async-stack-traces-promise-then.js index 1fdd71f0a8291d..188f38b8ef45a4 100644 --- a/test/parallel/test-inspector-async-stack-traces-promise-then.js +++ b/test/parallel/test-inspector-async-stack-traces-promise-then.js @@ -31,7 +31,7 @@ async function runTests() { 'params': { 'patterns': [] } }, { 'method': 'Runtime.runIfWaitingForDebugger' }, ]); - session.send({ method: 'NodeRuntime.disable' }); + await session.send({ method: 'NodeRuntime.disable' }); await session.waitForBreakOnLine(0, '[eval]'); await session.send({ 'method': 'Debugger.resume' });