diff --git a/atom/common/api/atom_api_crash_reporter.cc b/atom/common/api/atom_api_crash_reporter.cc index c13844d9fd4..b3d395aa26d 100644 --- a/atom/common/api/atom_api_crash_reporter.cc +++ b/atom/common/api/atom_api_crash_reporter.cc @@ -39,7 +39,7 @@ void RemoveExtraParameter(const std::string& key) { CrashReporter::GetInstance()->RemoveExtraParameter(key); } -std::map GetParameters() const { +std::map GetParameters() { return CrashReporter::GetInstance()->GetParameters(); } diff --git a/spec/api-crash-reporter-spec.js b/spec/api-crash-reporter-spec.js index 663f501f32d..1c89b6f6756 100644 --- a/spec/api-crash-reporter-spec.js +++ b/spec/api-crash-reporter-spec.js @@ -11,7 +11,7 @@ const {closeWindow} = require('./window-helpers') const {remote} = require('electron') const {app, BrowserWindow, crashReporter} = remote.require('electron') -describe.only('crashReporter module', () => { +describe('crashReporter module', () => { if (process.mas || process.env.DISABLE_CRASH_REPORTER_TESTS) return let originalTempDirectory = null