We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d3bed8 commit 424ec1dCopy full SHA for 424ec1d
spec/APNS.spec.js
@@ -316,7 +316,7 @@ describe('APNS', () => {
316
});
317
318
it('does log on invalid APNS notification', async () => {
319
- let args = {
+ const args = {
320
cert: new Buffer('testCert'),
321
key: new Buffer('testKey'),
322
production: true,
spec/GCM.spec.js
@@ -61,10 +61,7 @@ describe('GCM', () => {
61
62
const log = require('npmlog');
63
const spy = spyOn(log, 'warn');
64
- var args = {
65
- apiKey: 'apiKey'
66
- };
67
- const gcm = new GCM(args);
+ const gcm = new GCM({apiKey: 'apiKey'});
68
gcm.send();
69
expect(spy).toHaveBeenCalled();
70
0 commit comments