Remove deprecated crashReporter.start options
This commit is contained in:
parent
6f0471f6cb
commit
a6cf7a1095
2 changed files with 6 additions and 15 deletions
|
@ -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/)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue