@@ -13,6 +13,7 @@ await test('context-edit text reply when not a callback query', async t => {
13
13
strictEqual ( text , 'whatever' ) ;
14
14
deepStrictEqual ( other , {
15
15
disable_web_page_preview : false ,
16
+ entities : undefined ,
16
17
parse_mode : undefined ,
17
18
reply_markup : {
18
19
inline_keyboard : [ ] ,
@@ -36,6 +37,7 @@ await test('context-edit text reply when no message on callback query', async t
36
37
strictEqual ( text , 'whatever' ) ;
37
38
deepStrictEqual ( other , {
38
39
disable_web_page_preview : false ,
40
+ entities : undefined ,
39
41
parse_mode : undefined ,
40
42
reply_markup : {
41
43
inline_keyboard : [ ] ,
@@ -65,6 +67,7 @@ await test('context-edit text edit when message is a text message', async t => {
65
67
strictEqual ( text , 'whatever' ) ;
66
68
deepStrictEqual ( other , {
67
69
disable_web_page_preview : false ,
70
+ entities : undefined ,
68
71
parse_mode : undefined ,
69
72
reply_markup : {
70
73
inline_keyboard : [ ] ,
@@ -106,6 +109,7 @@ await test('context-edit text reply when message is a media message', async t =>
106
109
strictEqual ( text , 'whatever' ) ;
107
110
deepStrictEqual ( other , {
108
111
disable_web_page_preview : false ,
112
+ entities : undefined ,
109
113
parse_mode : undefined ,
110
114
reply_markup : {
111
115
inline_keyboard : [ ] ,
@@ -151,6 +155,7 @@ await test('context-edit text reply when message is a media message but fails wi
151
155
strictEqual ( text , 'whatever' ) ;
152
156
deepStrictEqual ( other , {
153
157
disable_web_page_preview : false ,
158
+ entities : undefined ,
154
159
parse_mode : undefined ,
155
160
reply_markup : {
156
161
inline_keyboard : [ ] ,
@@ -193,6 +198,7 @@ await test('context-edit media reply when not a callback query', async t => {
193
198
strictEqual ( photo , 'whatever' ) ;
194
199
deepStrictEqual ( other , {
195
200
caption : undefined ,
201
+ caption_entities : undefined ,
196
202
parse_mode : undefined ,
197
203
reply_markup : {
198
204
inline_keyboard : [ ] ,
@@ -227,6 +233,7 @@ await test('context-edit media reply when text message', async t => {
227
233
strictEqual ( photo , 'whatever' ) ;
228
234
deepStrictEqual ( other , {
229
235
caption : undefined ,
236
+ caption_entities : undefined ,
230
237
parse_mode : undefined ,
231
238
reply_markup : {
232
239
inline_keyboard : [ ] ,
@@ -375,6 +382,7 @@ await test('context-edit text edit without webpage preview', async () => {
375
382
async editMessageText ( _text , other ) {
376
383
deepStrictEqual ( other , {
377
384
disable_web_page_preview : true ,
385
+ entities : undefined ,
378
386
parse_mode : undefined ,
379
387
reply_markup : {
380
388
inline_keyboard : [ ] ,
@@ -409,6 +417,7 @@ await test('context-edit text edit with parse mode', async () => {
409
417
async editMessageText ( _text , other ) {
410
418
deepStrictEqual ( other , {
411
419
disable_web_page_preview : undefined ,
420
+ entities : undefined ,
412
421
parse_mode : 'Markdown' ,
413
422
reply_markup : {
414
423
inline_keyboard : [ ] ,
0 commit comments