switch from set to add in paramater test
This commit is contained in:
parent
1d6803b234
commit
a7f059d951
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ describe('crashReporter module', () => {
|
||||||
submitURL: 'http://127.0.0.1/crashes'
|
submitURL: 'http://127.0.0.1/crashes'
|
||||||
})
|
})
|
||||||
|
|
||||||
crashReporter.setExtraParameter('hello', 'world')
|
crashReporter.addExtraParameter('hello', 'world')
|
||||||
assert('hello' in crashReporter.getParameters())
|
assert('hello' in crashReporter.getParameters())
|
||||||
|
|
||||||
crashReporter.removeExtraParameter('hello')
|
crashReporter.removeExtraParameter('hello')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue