Skip to content

Commit

Permalink
[test-suite] Add more coverage for different data types in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed May 5, 2020
1 parent 0e7f591 commit 31a70f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/test-suite/tests/NewNotifications.js
Expand Up @@ -1202,6 +1202,16 @@ async function sendTestPushNotification(expoPushToken, notificationOverrides) {
{
to: expoPushToken,
title: 'Hello from Expo server!',
data: {
firstLevelString: 'value',
firstLevelObject: {
secondLevelInteger: 2137,
secondLevelObject: {
thirdLevelList: [21, 3, 1995, null, 4, 15],
thirdLevelNull: null,
},
},
},
...notificationOverrides,
},
]),
Expand Down

0 comments on commit 31a70f0

Please sign in to comment.