diff --git a/integration_tests/utils.js b/integration_tests/utils.js index 49379fe4ac77..04d1dec293bc 100644 --- a/integration_tests/utils.js +++ b/integration_tests/utils.js @@ -162,7 +162,7 @@ const cleanupStackTrace = (output: string) => { .replace(/\n.*at.*assert\.js.*$/gm, '') .replace(/\n.*at.*node\.js.*$/gm, '') .replace(/\n.*at.*next_tick\.js.*$/gm, '') - .replace(/\n.*at (new)? Promise \(\).*$/gm, '') + .replace(/\n.*at (new )?Promise \(\).*$/gm, '') .replace(/\n.*at .*$/gm, '') .replace(/\n.*at Generator.next \(\).*$/gm, '') .replace(/^.*at.*[\s][\(]?(\S*\:\d*\:\d*).*$/gm, ' at $1');