1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix debug test for _enc_ change

This commit is contained in:
Nick O'Leary 2018-07-14 23:18:55 +01:00
parent 3a1cc6a2be
commit 7fca04404e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -411,7 +411,7 @@ describe('debug node', function() {
data:{ data:{
id:"n1", id:"n1",
msg:JSON.stringify({ msg:JSON.stringify({
__encoded__: true, __enc__: true,
type: "array", type: "array",
data: Array(1000).fill("X"), data: Array(1000).fill("X"),
length: 1001 length: 1001
@ -438,7 +438,7 @@ describe('debug node', function() {
id:"n1", id:"n1",
msg:JSON.stringify({ msg:JSON.stringify({
foo:{ foo:{
__encoded__: true, __enc__: true,
type: "array", type: "array",
data: Array(1000).fill("X"), data: Array(1000).fill("X"),
length: 1001 length: 1001
@ -489,7 +489,7 @@ describe('debug node', function() {
foo:{ foo:{
type: "Buffer", type: "Buffer",
data: Array(1000).fill(88), data: Array(1000).fill(88),
__encoded__: true, __enc__: true,
length: 1001 length: 1001
} }
},null," "), },null," "),