Skip to content

Commit e1f3dfd

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/OneSignalPushAdapter.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ describe('OneSignalPushAdapter', () => {
210210
expect(write).toHaveBeenCalled();
211211

212212
// iOS
213-
args = write.calls.first().args;
213+
let args = write.calls.first().args;
214214
expect(args[0]).toEqual(JSON.stringify({
215215
'contents': { 'en':'Example content'},
216216
'content_available':true,
@@ -219,7 +219,7 @@ describe('OneSignalPushAdapter', () => {
219219
'app_id':'APP ID'
220220
}));
221221

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

0 commit comments

Comments
 (0)