Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
tweak test snap
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Oct 8, 2023
1 parent 84d8925 commit e056d0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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],
});

Expand All @@ -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);
Expand Down

0 comments on commit e056d0a

Please sign in to comment.