-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a function to register custom snapshot serializer for well-known Aztec basic types (AztecAddress, Fields, etc) as well as Buffers. This needs to be called explicitly on each test file. Alternatively, we could [load it as part of the jest config](https://jestjs.io/docs/configuration#snapshotserializers-arraystring), but I preferred to be explicit in the dependency and avoid pointing directly to a file in a different package.
- Loading branch information
1 parent
b2d7d14
commit 9a737eb
Showing
39 changed files
with
1,461 additions
and
55,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
yarn-project/circuits.js/src/contract/private_function.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.