Remove deprecated crashReporter.start options

This commit is contained in:
Kevin Sawicki 2016-04-28 09:48:13 -07:00
parent 6f0471f6cb
commit a6cf7a1095
2 changed files with 6 additions and 15 deletions

View file

@ -75,18 +75,18 @@ describe('crash-reporter module', function () {
})
})
describe('.start(options)', function () {
describe.only('.start(options)', function () {
it('requires that the companyName and submitURL options be specified', function () {
assert.throws(function () {
crashReporter.start({
companyName: 'Missing submitURL'
})
})
}, /submitURL is a required option to crashReporter\.start/)
assert.throws(function () {
crashReporter.start({
submitURL: 'Missing companyName'
})
})
}, /companyName is a required option to crashReporter\.start/)
})
})
})