switch from set to add in paramater test

This commit is contained in:
Shelley Vohr 2017-11-02 01:02:16 -04:00
parent 1d6803b234
commit a7f059d951
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -349,7 +349,7 @@ describe('crashReporter module', () => {
submitURL: 'http://127.0.0.1/crashes'
})
crashReporter.setExtraParameter('hello', 'world')
crashReporter.addExtraParameter('hello', 'world')
assert('hello' in crashReporter.getParameters())
crashReporter.removeExtraParameter('hello')