From f228aa05db71e5f8c04d48d110bde32e71b88837 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 3 Nov 2016 15:58:44 -0400 Subject: [PATCH] Validate only one report is produced --- test/common.js | 6 +++--- test/test-api.js | 9 ++++----- test/test-exception.js | 9 ++++----- test/test-fatal-error.js | 9 ++++----- test/test-signal.js | 9 ++++----- 5 files changed, 19 insertions(+), 23 deletions(-) diff --git a/test/common.js b/test/common.js index 2d1ba2d..2d498f6 100644 --- a/test/common.js +++ b/test/common.js @@ -9,11 +9,11 @@ const REPORT_SECTIONS = [ 'System Information' ]; -exports.locate = (pid) => { +exports.findReports = (pid) => { // Default NodeReport filenames are of the form NodeReport..