Skip to content

Commit 358a7ae

Browse files
committed
Fix missing 'let/var' in OneSignalPushAdapter.spec.
1 parent c4aac33 commit 358a7ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/OneSignalPushAdapter.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use strict';
12

23
var OneSignalPushAdapter = require('../src/Adapters/Push/OneSignalPushAdapter');
34
var classifyInstallations = require('../src/Adapters/Push/PushAdapterUtils').classifyInstallations;
@@ -210,7 +211,7 @@ describe('OneSignalPushAdapter', () => {
210211
expect(write).toHaveBeenCalled();
211212

212213
// iOS
213-
args = write.calls.first().args;
214+
let args = write.calls.first().args;
214215
expect(args[0]).toEqual(JSON.stringify({
215216
'contents': { 'en':'Example content'},
216217
'content_available':true,
@@ -219,7 +220,7 @@ describe('OneSignalPushAdapter', () => {
219220
'app_id':'APP ID'
220221
}));
221222

222-
// Android
223+
// Android
223224
args = write.calls.mostRecent().args;
224225
expect(args[0]).toEqual(JSON.stringify({
225226
'contents': { 'en':'Example content'},

0 commit comments

Comments
 (0)