Skip to content

Commit

Permalink
Added more deserializer tests.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed Jul 13, 2023
1 parent 97c808a commit ba94412
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/unit/serializer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ba94412

Please sign in to comment.