From e056d0a5a67b8b65c785d657cb86586473000131 Mon Sep 17 00:00:00 2001 From: KATT Date: Sun, 8 Oct 2023 20:06:23 +0200 Subject: [PATCH] tweak test snap --- src/index.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.test.ts b/src/index.test.ts index fe235490..cdf2129d 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -161,7 +161,7 @@ test("back-reference: non-circular complex reference", () => { test("back-reference: grandparent reference", () => { const t = createTson({ - nonce: () => "__tson", + nonce: () => "__tson__", types: [tsonDate], }); @@ -187,14 +187,14 @@ test("back-reference: grandparent reference", () => { \\"b\\": { \\"a\\": [ \\"CIRCULAR\\", - \\"a__tsona\\", - \\"__tson\\" + \\"a__tson__a\\", + \\"__tson__\\" ] } } } }, - \\"nonce\\": \\"__tson\\" + \\"nonce\\": \\"__tson__\\" }" `); expect(res).toEqual(expected);