diff --git a/spec/api-crash-reporter-spec.coffee b/spec/api-crash-reporter-spec.coffee index 0555d804c64f..3aad097239d0 100644 --- a/spec/api-crash-reporter-spec.coffee +++ b/spec/api-crash-reporter-spec.coffee @@ -13,7 +13,9 @@ describe 'crash-reporter module', -> w = new BrowserWindow(show: false) server = http.createServer (req, res) -> form = new formidable.IncomingForm() + process.throwDeprecation = false form.parse req, (error, fields, files) -> + process.throwDeprecation = true assert.equal fields['prod'], 'Atom-Shell' assert.equal fields['ver'], process.versions['atom-shell'] assert.equal fields['process_type'], 'renderer' diff --git a/spec/static/index.html b/spec/static/index.html index 351af228a5b9..cb3d76c05bf7 100644 --- a/spec/static/index.html +++ b/spec/static/index.html @@ -10,6 +10,9 @@