autoSubmit -> uploadToServer

This commit is contained in:
Kevin Sawicki 2017-02-13 10:08:43 -08:00
parent f3756ccf29
commit a4bbad03c2
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ describe('crashReporter module', function () {
crashReporter.start({ crashReporter.start({
companyName: 'Umbrella Corporation', companyName: 'Umbrella Corporation',
submitURL: 'http://127.0.0.1/crashes', submitURL: 'http://127.0.0.1/crashes',
autoSubmit: true uploadToServer: true
}) })
assert.equal(crashReporter.getUploadToServer(), true) assert.equal(crashReporter.getUploadToServer(), true)
crashReporter.setUploadToServer(false) crashReporter.setUploadToServer(false)

View file

@ -7,7 +7,7 @@ crashReporter.start({
productName: 'Zombies', productName: 'Zombies',
companyName: 'Umbrella Corporation', companyName: 'Umbrella Corporation',
submitURL: 'http://127.0.0.1:' + port, submitURL: 'http://127.0.0.1:' + port,
autoSubmit: true, uploadToServer: true,
ignoreSystemCrashHandler: true, ignoreSystemCrashHandler: true,
extra: { extra: {
'extra1': 'extra1', 'extra1': 'extra1',