arktype
arktype copied to clipboard
Check snaps across tsVersions in attest
Currently, since we only populate the snapshots from a single tsVersion, we also only check the primary version for an assertion like attest({}).type.toString.snap("{}")
.
It would be ideal to only populate the snapshot based on the result of the primary TS version, but check all other versions to ensure they match an existing snapshot value if there is one, or the primary TS version if not.