diff --git a/test/sequential/test-debugger-sb-before-load.js b/test/sequential/test-debugger-sb-before-load.js index 3ab84db931834f..e2267156b7420b 100644 --- a/test/sequential/test-debugger-sb-before-load.js +++ b/test/sequential/test-debugger-sb-before-load.js @@ -26,7 +26,7 @@ const cli = startCLI([script]); assert.match(cli.output, /not loaded yet/, 'warns that the script was not loaded yet'); await cli.stepCommand('cont'); - assert.ok(cli.output.includes, `break in ${otherScript}:2`, + assert.ok(cli.output.includes(`break in ${otherScript}:2`), 'found breakpoint in file that was not loaded yet'); })() .then(common.mustCall())