From ba944124451c8b266173e3d27bb0ba2aa27f54a2 Mon Sep 17 00:00:00 2001 From: dblock Date: Thu, 13 Jul 2023 16:25:49 -0400 Subject: [PATCH] Added more deserializer tests. Signed-off-by: dblock --- test/unit/serializer.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/serializer.test.js b/test/unit/serializer.test.js index f6c6339a7..33b2b021f 100644 --- a/test/unit/serializer.test.js +++ b/test/unit/serializer.test.js @@ -55,7 +55,11 @@ test('Long numerals', (t) => { `"positive": ${longPositive.toString()}, ` + `"array": [ ${longNegative.toString()}, ${longPositive.toString()} ], ` + `"negative": ${longNegative.toString()},` + - `"hardcoded": 102931203123987` + + `"hardcoded": 102931203123987,` + + `"a": "෴1111111111111111",` + + `"b": "߷1111111111111111",` + + `"c": "֍1111111111111111",` + + `"d": "෴֍߷1111111111111111"` + `}`; const obj = s.deserialize(json); const res = s.serialize(obj);