Browse Source

switch from set to add in paramater test

Shelley Vohr 7 years ago
parent
commit
a7f059d951
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-crash-reporter-spec.js

+ 1 - 1
spec/api-crash-reporter-spec.js

@@ -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')