Skip to content

Commit 8b93e22

Browse files
committed
simplify
1 parent 7ceb705 commit 8b93e22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/FCM.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe('FCM', () => {
132132
const requestData = {
133133
expiration_time: expirationTime,
134134
data: {
135-
alert: { body: 'alert', title: 'title' }
135+
alert: 'alert',
136136
},
137137
notification: {
138138
title: 'I am a title',
@@ -177,7 +177,7 @@ describe('FCM', () => {
177177
const requestData = {
178178
expiration_time: expirationTime,
179179
data: {
180-
alert: { body: 'alert', title: 'title' }
180+
alert: 'alert',
181181
},
182182
notification: {
183183
title: 'I am a title',
@@ -214,7 +214,7 @@ describe('FCM', () => {
214214
const requestData = {
215215
expiration_time: expirationTime,
216216
data: {
217-
alert: { body: 'alert', title: 'title' }
217+
alert: 'alert',
218218
},
219219
notification: {
220220
title: 'I am a title',

0 commit comments

Comments
 (0)